Skip to content

Commit bfa01d8

Browse files
committed
Update examples in the docs
1 parent 7464c4a commit bfa01d8

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

help_docs/syntax_formats.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -906,28 +906,6 @@ Another way of running Selenium tests with pure ``python`` (as opposed to using
906906
"""Driver() test. Runs with "python". (pytest not needed)."""
907907
from seleniumbase import Driver
908908

909-
driver = Driver(browser="chrome", headless=False)
910-
try:
911-
driver.get("https://seleniumbase.io/apps/calculator")
912-
driver.click('[id="4"]')
913-
driver.click('[id="2"]')
914-
driver.assert_text("42", "#output")
915-
driver.highlight("#output", loops=6)
916-
finally:
917-
driver.quit()
918-
919-
driver = Driver()
920-
try:
921-
driver.get("https://seleniumbase.github.io/demo_page")
922-
driver.highlight("h2")
923-
driver.type("#myTextInput", "Automation")
924-
driver.click("#checkBox1")
925-
driver.highlight("img", loops=6)
926-
finally:
927-
driver.quit()
928-
"""Driver() test. Runs with "python". (pytest not needed)."""
929-
from seleniumbase import Driver
930-
931909
driver = Driver(browser="chrome", headless=False)
932910
try:
933911
driver.get("https://seleniumbase.io/apps/calculator")

0 commit comments

Comments
 (0)