File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -381,12 +381,9 @@ def main():
381
381
' self.assert_text("Typing Text!", \' [name="preText2"]\' )'
382
382
)
383
383
data .append (' self.assert_text("Automation Practice", "h3")' )
384
- data .append (" try:" )
385
- data .append (" self.hover_and_click(" )
386
- data .append (' "#myDropdown", "#dropOption2", timeout=1)' )
387
- data .append (" except Exception:" )
388
- data .append (" # Someone moved the mouse while the test ran" )
389
- data .append (' self.js_click("#dropOption2")' )
384
+ data .append (
385
+ ' self.hover_and_js_click("#myDropdown", "#dropOption2")'
386
+ )
390
387
data .append (' self.assert_text("Link Two Selected", "h3")' )
391
388
data .append (' self.assert_text("This Text is Green", "#pText")' )
392
389
data .append (' self.click("#myButton")' )
You can’t perform that action at this time.
0 commit comments