File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ def test_proxy(self):
22
22
# This page takes too long to load otherwise
23
23
self .get_new_driver (page_load_strategy = "none" )
24
24
self .open ("https://ipinfo.io/" )
25
+ self .wait_for_non_empty_text ("form input" , timeout = 20 )
25
26
ip_address = self .get_text ('#ip-string span[class*="primary"] span' )
26
27
print ("\n \n My IP Address = %s\n " % ip_address )
27
28
print ("Displaying Host Info:" )
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ def test_hack_search(self):
25
25
self .highlight_click ('[href*="github.com/seleniumbase/SeleniumBase"]' )
26
26
self .highlight_click ('[href="/seleniumbase/SeleniumBase"]' )
27
27
self .highlight_click ('a[title="examples"]' )
28
- self .assert_text ("examples" , "#file-name-id" )
29
- self .highlight_click ('div[title="test_hack_search.py"] a' )
30
- self .assert_text ("test_hack_search.py" , "#file-name-id" )
31
- self .highlight ("#file-name-id" )
28
+ self .assert_text ("examples" , "#file-name-id-wide" )
29
+ self .highlight ('a[aria-describedby="item-type-test_hack_search.py"]' )
30
+ self .click ('a[aria-describedby="item-type-test_hack_search.py"]' )
31
+ self .assert_text ("test_hack_search.py" , "#file-name-id-wide" )
32
+ self .highlight ("#file-name-id-wide" )
You can’t perform that action at this time.
0 commit comments