@@ -86,14 +86,11 @@ def test_all_your_base_are_belong_to_us(self):
86
86
self .highlight ('form[role="search"]' , loops = 8 )
87
87
88
88
self .open ("https://github.com/features/actions" )
89
- self .set_text_content ('a[href="/pricing"]' , aybabtu )
90
- self .set_text_content ("h1 span:nth-child(1)" , ayb )
91
- self .set_text_content ("h1 span:nth-of-type(2)" , "ARE" )
92
- self .set_text_content ("h1 span:nth-of-type(3)" , "BELONG" )
93
- self .set_text_content ("h1 span:nth-of-type(4)" , "TO" )
94
- self .set_text_content ("h1 span:nth-of-type(5)" , "US" )
95
- self .highlight ('a[href="/pricing"]' , loops = 6 , scroll = False )
96
- self .highlight ("h1.h2-mktg" , loops = 7 , scroll = False )
89
+ self .set_text_content ("h2.h2-mktg" , aybabtu )
90
+ self .set_text_content ("a.btn-large-mktg" , aybabtu )
91
+ self .highlight ("h2.h2-mktg" , loops = 8 , scroll = False )
92
+ self .scroll_to ("h2.h2-mktg" )
93
+ self .highlight ("a.btn-large-mktg" , loops = 8 , scroll = False )
97
94
98
95
self .open ("https://dev.to/top/infinity" )
99
96
self .click_if_visible ('button[aria-label="Close campaign banner"]' )
@@ -290,14 +287,14 @@ def test_all_your_base_are_belong_to_us(self):
290
287
self .highlight ("h1" , loops = 10 , scroll = False )
291
288
292
289
self .open ("https://wordpress.com/" )
293
- zoom_out = "h1.is-page-header {zoom: 0.8;-moz-transform: scale(0.8);}"
290
+ zoom_out = "h1{zoom: 0.8;-moz-transform: scale(0.8);}"
294
291
self .add_css_style (zoom_out )
295
292
zoom_in = "a.wp-element-button{zoom: 1.4;-moz-transform: scale(1.4);}"
296
293
self .add_css_style (zoom_in )
297
- self .set_text_content ("h1.is-page-header " , aybabtu )
294
+ self .set_text_content ("h1" , aybabtu )
298
295
self .set_text_content ("a.wp-element-button" , "Use SeleniumBase!" )
299
- self .highlight ("h1.is-page-header " , loops = 6 , scroll = False )
300
- self .highlight ("a.wp-element-button" , loops = 4 , scroll = False )
296
+ self .highlight ("h1" , loops = 8 , scroll = False )
297
+ self .highlight ("a.wp-element-button" , loops = 8 , scroll = False )
301
298
302
299
self .open ("https://seleniumbase.com/" )
303
300
self .set_text_content ("h1" , aybabtu )
0 commit comments