diff --git a/help_docs/how_it_works.md b/help_docs/how_it_works.md index d723b1a0..f30035a5 100755 --- a/help_docs/how_it_works.md +++ b/help_docs/how_it_works.md @@ -23,4 +23,4 @@ class MyTestClass(BaseCase): -------- -For more ways of using SeleniumBase, see: SyntaxFormats. +For more ways of using SeleniumBase, see: SyntaxFormats. diff --git a/help_docs/syntax_formats.md b/help_docs/syntax_formats.md index 67a9055f..f8fe8393 100755 --- a/help_docs/syntax_formats.md +++ b/help_docs/syntax_formats.md @@ -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 BaseCase 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"]')