File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ def test_proxy(self):
14
14
if row .strip () != "" :
15
15
data .append (row .strip ())
16
16
print ("\n " .join (data ).replace ('\n "' , " " ))
17
- print ("\n The browser will close automatically in 7 seconds..." )
18
- self .sleep (7 )
17
+ if not self .headless :
18
+ print ("\n The browser will close automatically in 7 seconds..." )
19
+ self .sleep (7 )
Original file line number Diff line number Diff line change 3
3
4
4
class DocsSiteTests (BaseCase ):
5
5
def test_docs (self ):
6
- self .open ("https://seleniumbase.io/" )
7
- self .assert_text ("SeleniumBase" , "h1" )
8
- self .js_click ('a[href="help_docs/features_list/"]' )
9
- self .assert_exact_text ("Features List" , "h1" )
10
- self .js_click ('a[href="../../examples/ReadMe/"]' )
6
+ self .open ("https://seleniumbase.io/examples/ReadMe/" )
11
7
self .assert_exact_text ("Running Example Tests" , "h1" )
12
8
self .js_click ('a[href="../../help_docs/customizing_test_runs/"]' )
13
9
self .assert_exact_text ("Command Line Options" , "h1" )
You can’t perform that action at this time.
0 commit comments