@@ -24,32 +24,32 @@ def test_all_your_base_are_belong_to_us(self):
2424 self .click_if_visible ('button[aria-label="Close"]' )
2525 self .set_text_content ("h1#firstHeading" , aybabtu )
2626 self .set_text_content ("#ca-history a" , aybabtu )
27- self .set_text_content (' #n-mainpage-description a' , "ALL" )
28- self .set_text_content (' #n-contents a' , "YOUR" )
29- self .set_text_content (' #n-currentevents a' , "BASE" )
30- self .set_text_content (' #n-randompage a' , "ARE" )
31- self .set_text_content (' #n-aboutsite a' , "BELONG" )
32- self .set_text_content (' #n-contactpage a' , "TO" )
33- self .set_text_content (' #n-sitesupport a' , "US" )
34- self .set_text_content (' .tocsection-1 span.toctext' , "ALL" )
35- self .set_text_content (' .tocsection-2 span.toctext' , "YOUR" )
36- self .set_text_content (' .tocsection-3 span.toctext' , "BASE" )
37- self .set_text_content (' .tocsection-4 span.toctext' , "ARE" )
38- self .set_text_content (' .tocsection-5 span.toctext' , "BELONG" )
39- self .set_text_content (' .tocsection-6 span.toctext' , "TO" )
40- self .set_text_content (' .tocsection-7 span.toctext' , "US" )
27+ self .set_text_content (" #n-mainpage-description a" , "ALL" )
28+ self .set_text_content (" #n-contents a" , "YOUR" )
29+ self .set_text_content (" #n-currentevents a" , "BASE" )
30+ self .set_text_content (" #n-randompage a" , "ARE" )
31+ self .set_text_content (" #n-aboutsite a" , "BELONG" )
32+ self .set_text_content (" #n-contactpage a" , "TO" )
33+ self .set_text_content (" #n-sitesupport a" , "US" )
34+ self .set_text_content (" .tocsection-1 span.toctext" , "ALL" )
35+ self .set_text_content (" .tocsection-2 span.toctext" , "YOUR" )
36+ self .set_text_content (" .tocsection-3 span.toctext" , "BASE" )
37+ self .set_text_content (" .tocsection-4 span.toctext" , "ARE" )
38+ self .set_text_content (" .tocsection-5 span.toctext" , "BELONG" )
39+ self .set_text_content (" .tocsection-6 span.toctext" , "TO" )
40+ self .set_text_content (" .tocsection-7 span.toctext" , "US" )
4141 self .highlight ("h1#firstHeading" , loops = 2 , scroll = False )
4242 self .highlight ("#ca-history a" , loops = 2 , scroll = False )
4343 self .highlight ("nav#p-navigation" , loops = 2 , scroll = False )
4444 self .highlight ("div#toc" , loops = 2 , scroll = False )
45- self .highlight (' .tocsection-1 span.toctext' , loops = 1 , scroll = False )
46- self .highlight (' .tocsection-2 span.toctext' , loops = 1 , scroll = False )
47- self .highlight (' .tocsection-3 span.toctext' , loops = 2 , scroll = False )
48- self .highlight (' .tocsection-4 span.toctext' , loops = 1 , scroll = False )
49- self .highlight (' .tocsection-5 span.toctext' , loops = 1 , scroll = False )
50- self .highlight (' .tocsection-6 span.toctext' , loops = 1 , scroll = False )
51- self .highlight (' .tocsection-7 span.toctext' , loops = 2 , scroll = False )
52- zoom_in = ' div.thumbinner{zoom: 1.4;-moz-transform: scale(1.4);}'
45+ self .highlight (" .tocsection-1 span.toctext" , loops = 1 , scroll = False )
46+ self .highlight (" .tocsection-2 span.toctext" , loops = 1 , scroll = False )
47+ self .highlight (" .tocsection-3 span.toctext" , loops = 2 , scroll = False )
48+ self .highlight (" .tocsection-4 span.toctext" , loops = 1 , scroll = False )
49+ self .highlight (" .tocsection-5 span.toctext" , loops = 1 , scroll = False )
50+ self .highlight (" .tocsection-6 span.toctext" , loops = 1 , scroll = False )
51+ self .highlight (" .tocsection-7 span.toctext" , loops = 2 , scroll = False )
52+ zoom_in = " div.thumbinner{zoom: 1.4;-moz-transform: scale(1.4);}"
5353 self .add_css_style (zoom_in )
5454 self .highlight ("div.thumbinner" , loops = 8 , scroll = False )
5555
@@ -82,7 +82,7 @@ def test_all_your_base_are_belong_to_us(self):
8282 self .set_text_content ('a[href*="google.com/img"]' , abtu )
8383 self .set_attributes ('[value="Google Search"]' , "value" , ayb )
8484 self .set_attributes ('[value="I\' m Feeling Lucky"]' , "value" , abtu )
85- zoom_in = ' a{zoom: 1.2;-moz-transform: scale(1.2);}'
85+ zoom_in = " a{zoom: 1.2;-moz-transform: scale(1.2);}"
8686 self .add_css_style (zoom_in )
8787 zoom_in = (
8888 '[value="ALL YOUR BASE"]{zoom: 1.3;-moz-transform: scale(1.3);}'
@@ -104,36 +104,36 @@ def test_all_your_base_are_belong_to_us(self):
104104 self .highlight ('a[href*="w/signup"]' , loops = 6 , scroll = False )
105105
106106 self .open ("https://www.youtube.com/" )
107- self .set_text_content (' %s(1)' % yt_chip , "ALL" )
108- self .set_text_content (' %s(2)' % yt_chip , "YOUR" )
109- self .set_text_content (' %s(3)' % yt_chip , "BASE" )
110- self .set_text_content (' %s(4)' % yt_chip , "ARE" )
111- self .set_text_content (' %s(5)' % yt_chip , "BELONG" )
112- self .set_text_content (' %s(6)' % yt_chip , "TO" )
113- self .set_text_content (' %s(7)' % yt_chip , "US" )
114- self .set_text_content (' %s(8)' % yt_chip , "!" )
115- self .set_text_content (' %s(9)' % yt_chip , "!" )
116- self .set_text_content (' %s(10)' % yt_chip , "!" )
107+ self .set_text_content (" %s(1)" % yt_chip , "ALL" )
108+ self .set_text_content (" %s(2)" % yt_chip , "YOUR" )
109+ self .set_text_content (" %s(3)" % yt_chip , "BASE" )
110+ self .set_text_content (" %s(4)" % yt_chip , "ARE" )
111+ self .set_text_content (" %s(5)" % yt_chip , "BELONG" )
112+ self .set_text_content (" %s(6)" % yt_chip , "TO" )
113+ self .set_text_content (" %s(7)" % yt_chip , "US" )
114+ self .set_text_content (" %s(8)" % yt_chip , "!" )
115+ self .set_text_content (" %s(9)" % yt_chip , "!" )
116+ self .set_text_content (" %s(10)" % yt_chip , "!" )
117117 self .click_if_visible ("#dismiss-button" )
118118 self .click_if_visible ('button[aria-label="Close"]' )
119119 self .highlight ("#scroll-container" , loops = 5 , scroll = False )
120- self .highlight (' %s(1)' % yt_chip , loops = 1 , scroll = False )
121- self .highlight (' %s(2)' % yt_chip , loops = 1 , scroll = False )
122- self .highlight (' %s(3)' % yt_chip , loops = 3 , scroll = False )
123- self .highlight (' %s(4)' % yt_chip , loops = 1 , scroll = False )
124- self .highlight (' %s(5)' % yt_chip , loops = 1 , scroll = False )
125- self .highlight (' %s(6)' % yt_chip , loops = 1 , scroll = False )
126- self .highlight (' %s(7)' % yt_chip , loops = 3 , scroll = False )
120+ self .highlight (" %s(1)" % yt_chip , loops = 1 , scroll = False )
121+ self .highlight (" %s(2)" % yt_chip , loops = 1 , scroll = False )
122+ self .highlight (" %s(3)" % yt_chip , loops = 3 , scroll = False )
123+ self .highlight (" %s(4)" % yt_chip , loops = 1 , scroll = False )
124+ self .highlight (" %s(5)" % yt_chip , loops = 1 , scroll = False )
125+ self .highlight (" %s(6)" % yt_chip , loops = 1 , scroll = False )
126+ self .highlight (" %s(7)" % yt_chip , loops = 3 , scroll = False )
127127 self .highlight ("#scroll-container" , loops = 7 , scroll = False )
128128
129129 self .open ("https://github.com/features/actions" )
130130 self .set_text_content ('a[href="/team"]' , ayb )
131131 self .set_text_content ('a[href="/enterprise"]' , abtu )
132- self .set_text_content (' h1 span:nth-child(1)' , ayb )
133- self .set_text_content (' h1 span:nth-of-type(2)' , "ARE" )
134- self .set_text_content (' h1 span:nth-of-type(3)' , "BELONG" )
135- self .set_text_content (' h1 span:nth-of-type(4)' , "TO" )
136- self .set_text_content (' h1 span:nth-of-type(5)' , "US" )
132+ self .set_text_content (" h1 span:nth-child(1)" , ayb )
133+ self .set_text_content (" h1 span:nth-of-type(2)" , "ARE" )
134+ self .set_text_content (" h1 span:nth-of-type(3)" , "BELONG" )
135+ self .set_text_content (" h1 span:nth-of-type(4)" , "TO" )
136+ self .set_text_content (" h1 span:nth-of-type(5)" , "US" )
137137 self .type ('input[name="q"]' , aybabtu .lower ())
138138 self .click ("h1" , scroll = False )
139139 self .highlight ("nav" , loops = 5 , scroll = False )
@@ -157,8 +157,8 @@ def test_all_your_base_are_belong_to_us(self):
157157 self .set_text_content ('aside a[class*="tful"]:nth-child(4)' , aybabtu )
158158 self .set_text_content ('aside a[class*="tful"]:nth-child(5)' , aybabtu )
159159 self .set_attribute ("a.crayons-avatar img" , "src" , sb_dashboard_logo )
160- self .set_text_content (' .profile-preview-card button' , "SeleniumBase" )
161- self .set_text_content (' h2.crayons-story__title a' , aybabtu )
160+ self .set_text_content (" .profile-preview-card button" , "SeleniumBase" )
161+ self .set_text_content (" h2.crayons-story__title a" , aybabtu )
162162 self .type ('input[name="q"]' , aybabtu )
163163 self .highlight ('input[name="q"]' , loops = 4 , scroll = False )
164164 self .highlight ('[aria-label="Primary sidebar"] div div' , scroll = False )
@@ -180,12 +180,12 @@ def test_all_your_base_are_belong_to_us(self):
180180 self .highlight ("h1" , loops = 6 , scroll = False )
181181 self .highlight ('a[aria-label*="Try PlayF"]' , loops = 4 , scroll = False )
182182 self .highlight ('a[aria-label*="Sign in to"]' , loops = 4 , scroll = False )
183- self .highlight (' button#live-engage-btn' , loops = 6 , scroll = False )
183+ self .highlight (" button#live-engage-btn" , loops = 6 , scroll = False )
184184
185185 self .open ("https://www.snapchat.com/" )
186186 self .set_text_content ("h1" , ayb )
187187 self .set_text_content ("form .button-large span span" , abtu )
188- zoom_in = ' a.button-large span{zoom: 1.2;-moz-transform: scale(1.2);}'
188+ zoom_in = " a.button-large span{zoom: 1.2;-moz-transform: scale(1.2);}"
189189 self .add_css_style (zoom_in )
190190 self .highlight ("h1" , loops = 6 , scroll = False )
191191 self .highlight ("form .button-large span span" , loops = 8 , scroll = False )
@@ -201,7 +201,7 @@ def test_all_your_base_are_belong_to_us(self):
201201 self .set_text_content ('span:contains("Labs")' , "US" )
202202 self .set_value ("input#store_nav_search_term" , ayb + " . . . ." )
203203 self .highlight ('div.content a[href*="help.steam"]' , loops = 6 )
204- self .highlight (' #store_nav_area' , loops = 2 , scroll = False )
204+ self .highlight (" #store_nav_area" , loops = 2 , scroll = False )
205205 self .highlight ("#foryou_tab a" , loops = 1 , scroll = False )
206206 self .highlight ("#noteworthy_tab a" , loops = 3 , scroll = False )
207207 self .highlight ("#genre_tab a" , loops = 1 , scroll = False )
@@ -222,7 +222,7 @@ def test_all_your_base_are_belong_to_us(self):
222222 self .remove_element ('li:contains("What")' )
223223 self .remove_element ('li:contains("WI")' )
224224 self .set_attributes ("#news img" , "src" , sb_banner_logo )
225- self .set_text_content (' #ctitle' , aybabtu )
225+ self .set_text_content (" #ctitle" , aybabtu )
226226 self .set_text_content ('a[rel="prev"]' , "All" )
227227 self .set_text_content ('a[href*="random"]' , "Your" )
228228 self .set_text_content ('a[rel="next"]' , "Base" )
@@ -270,8 +270,8 @@ def test_all_your_base_are_belong_to_us(self):
270270 self .set_text_content ('nav a[href="/partners/"]' , "ARE" )
271271 self .set_text_content ('nav a[href="/community/"]' , "BELONG" )
272272 self .set_text_content ('nav a[href="/case-studies/"]' , "TO" )
273- self .set_text_content (' nav #navbarDropdown' , "US" )
274- self .set_text_content (' nav #navbarDropdownMenuLink' , "." )
273+ self .set_text_content (" nav #navbarDropdown" , "US" )
274+ self .set_text_content (" nav #navbarDropdownMenuLink" , "." )
275275 if self .is_element_visible ("h1" ):
276276 self .set_text_content ("h1" , aybabtu )
277277 self .highlight ("nav ul.navbar-nav" , loops = 3 , scroll = False )
@@ -281,9 +281,9 @@ def test_all_your_base_are_belong_to_us(self):
281281 self .highlight ('nav a[href="/partners/"]' , loops = 1 , scroll = False )
282282 self .highlight ('nav a[href="/community/"]' , loops = 1 , scroll = False )
283283 self .highlight ('nav a[href="/case-studies/"]' , loops = 1 , scroll = False )
284- self .highlight (' nav #navbarDropdown' , loops = 2 , scroll = False )
284+ self .highlight (" nav #navbarDropdown" , loops = 2 , scroll = False )
285285 if self .is_element_visible ("h1" ):
286- self .highlight ('h1' , loops = 6 , scroll = False )
286+ self .highlight ("h1" , loops = 6 , scroll = False )
287287
288288 self .open ("https://www.selenium.dev/" )
289289 if self .is_element_visible ('button[data-dismiss="alert"] span' ):
@@ -298,7 +298,7 @@ def test_all_your_base_are_belong_to_us(self):
298298 self .set_text_content ('li a:contains("English")' , "US" )
299299 self .set_text_content ("div.lead" , aybabtu )
300300 self .set_text_content ("h2" , aybabtu )
301- zoom_in = ' div.lead{zoom: 1.25;-moz-transform: scale(1.25);}'
301+ zoom_in = " div.lead{zoom: 1.25;-moz-transform: scale(1.25);}"
302302 self .add_css_style (zoom_in )
303303 self .highlight ("div#main_navbar" , loops = 1 , scroll = False )
304304 self .highlight ('li a:contains("ALL")' , loops = 1 , scroll = False )
@@ -401,7 +401,7 @@ def test_all_your_base_are_belong_to_us(self):
401401
402402 self .open ("https://pragprog.com/" )
403403 self .set_text_content ("header p" , aybabtu )
404- zoom_in = ' header p{zoom: 1.35;-moz-transform: scale(1.35);}'
404+ zoom_in = " header p{zoom: 1.35;-moz-transform: scale(1.35);}"
405405 self .add_css_style (zoom_in )
406406 self .highlight ("header p" , loops = 10 , scroll = False )
407407
0 commit comments