@@ -86,14 +86,11 @@ def test_all_your_base_are_belong_to_us(self):
8686 self .highlight ('form[role="search"]' , loops = 8 )
8787
8888 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 )
9794
9895 self .open ("https://dev.to/top/infinity" )
9996 self .click_if_visible ('button[aria-label="Close campaign banner"]' )
@@ -290,14 +287,14 @@ def test_all_your_base_are_belong_to_us(self):
290287 self .highlight ("h1" , loops = 10 , scroll = False )
291288
292289 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);}"
294291 self .add_css_style (zoom_out )
295292 zoom_in = "a.wp-element-button{zoom: 1.4;-moz-transform: scale(1.4);}"
296293 self .add_css_style (zoom_in )
297- self .set_text_content ("h1.is-page-header " , aybabtu )
294+ self .set_text_content ("h1" , aybabtu )
298295 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 )
301298
302299 self .open ("https://seleniumbase.com/" )
303300 self .set_text_content ("h1" , aybabtu )
0 commit comments