Update the docs
This commit is contained in:
parent
cc46914e01
commit
aad55ac264
|
@ -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>.
|
||||
|
|
|
@ -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"]')
|
||||
|
|
Loading…
Reference in New Issue