Update the docs

This commit is contained in:
Michael Mintz 2021-04-02 22:48:53 -04:00
parent cc46914e01
commit aad55ac264
2 changed files with 3 additions and 3 deletions

View File

@ -23,4 +23,4 @@ class MyTestClass(BaseCase):
--------
For more ways of using SeleniumBase, see: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">SyntaxFormats</a>.
For more ways of using SeleniumBase, see: <a href="https://seleniumbase.io/help_docs/syntax_formats/">SyntaxFormats</a>.

View File

@ -119,7 +119,7 @@ from seleniumbase import BaseCase
class LoginPage():
def login_to_swag_labs(self, sb, username):
sb.open("https://www.saucedemo.com/")
sb.open("https://www.saucedemo.com/v1")
sb.type("#user-name", username)
sb.type("#password", "secret_sauce")
sb.click('input[type="submit"]')
@ -142,7 +142,7 @@ This is similar to the classic Page Object Model with <code>BaseCase</code> inhe
class LoginPage():
def login_to_swag_labs(self, sb, username):
sb.open("https://www.saucedemo.com/")
sb.open("https://www.saucedemo.com/v1")
sb.type("#user-name", username)
sb.type("#password", "secret_sauce")
sb.click('input[type="submit"]')