File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
from seleniumbase import BaseCase
2
2
3
3
4
- class MyTestClass (BaseCase ):
4
+ class DoubleClickTestClass (BaseCase ):
5
5
6
- def test_double_click_and_switch_to_frame (self ):
6
+ def test_switch_to_frame_and_double_click (self ):
7
7
self .open ("https://www.w3schools.com/jsref"
8
8
"/tryit.asp?filename=tryjsref_ondblclick" )
9
9
self .ad_block ()
10
- self .switch_to_frame ("#iframeResult" )
10
+ self .switch_to_frame ("iframe #iframeResult" )
11
11
self .double_click ('[ondblclick="myFunction()"]' )
12
12
self .assert_text ("Hello World" , "#demo" )
13
13
14
- def test_double_click_and_switch_to_frame_of_element (self ):
14
+ def test_switch_to_frame_of_element_and_double_click (self ):
15
15
self .open ("https://www.w3schools.com/jsref"
16
16
"/tryit.asp?filename=tryjsref_ondblclick" )
17
17
self .ad_block ()
You can’t perform that action at this time.
0 commit comments