File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def test_proxy(self):
18
18
print ("Skipping test for using Safari." )
19
19
self .skip ("Skipping test for using Safari." )
20
20
settings .SKIP_JS_WAITS = True
21
- if not self .page_load_strategy == "none" :
21
+ if not self .page_load_strategy == "none" and not self . undetectable :
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/" )
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ def test_hack_search(self):
13
13
print ("\n This test is not for Headless Mode." )
14
14
self .skip ('Do not use "--headless" with this test.' )
15
15
self .open ("https://google.com/ncr" )
16
- self .assert_element ('input [title="Search"]' )
16
+ self .assert_element ('[title="Search"]' )
17
17
self .sleep (0.5 )
18
18
self .set_attribute ('[action="/search"]' , "action" , "//bing.com/search" )
19
19
self .set_attributes ('[value="Google Search"]' , "value" , "Bing Search" )
20
- self .type ('input [title="Search"]' , "GitHub SeleniumBase Docs Install" )
20
+ self .type ('[title="Search"]' , "GitHub SeleniumBase Docs Install" )
21
21
self .sleep (0.5 )
22
22
self .js_click ('[value="Bing Search"]' )
23
23
self .highlight ("h1.b_logo" , loops = 8 )
You can’t perform that action at this time.
0 commit comments