File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff 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)."""
907907from 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-
931909driver = Driver(browser = " chrome" , headless = False )
932910try :
933911 driver.get(" https://seleniumbase.io/apps/calculator" )
You can’t perform that action at this time.
0 commit comments