@@ -43,7 +43,7 @@ def test_all_your_base_are_belong_to_us(self):
4343 self .set_text_content ('#shelf-1 a[href*="airtag"]' , "TO" )
4444 self .set_text_content ('#shelf-1 a[href*="tv"]' , "US" )
4545 self .set_text_content ('#shelf-1 a[href*="homepod"]' , "." )
46- self .set_text_content ("h2" , aybabtu + ". " )
46+ self .set_text_content ("#shelf-3 h2" , aybabtu + ". " )
4747 self .highlight ("div.rs-shop-subheader" , loops = 6 , scroll = False )
4848 self .highlight ("#shelf-1" , loops = 2 , scroll = False )
4949 self .highlight ('#shelf-1 a[href*="mac"]' , loops = 1 , scroll = False )
@@ -53,7 +53,7 @@ def test_all_your_base_are_belong_to_us(self):
5353 self .highlight ('#shelf-1 a[href*="airpod"]' , loops = 1 , scroll = False )
5454 self .highlight ('#shelf-1 a[href*="airtag"]' , loops = 1 , scroll = False )
5555 self .highlight ('#shelf-1 a[href*="tv"]' , loops = 3 , scroll = False )
56- self .highlight ("h2" , loops = 9 , scroll = False )
56+ self .highlight ("#shelf-3 h2" , loops = 9 , scroll = False )
5757
5858 self .open ("https://google.com/ncr" )
5959 self .hide_elements ("iframe" )
@@ -240,11 +240,11 @@ def test_all_your_base_are_belong_to_us(self):
240240 self .set_text_content ('li a:contains("Support")' , "BELONG" )
241241 self .set_text_content ('li a:contains("Blog")' , "TO" )
242242 self .set_text_content ('li a:contains("English")' , "US" )
243- self .set_text_content ("div.lead " , aybabtu )
243+ self .set_text_content ("div.mx-auto p " , aybabtu )
244244 self .set_text_content ("h2" , aybabtu )
245245 if self .is_element_visible ('button[data-dismiss="alert"] span' ):
246246 self .js_click ('button[data-dismiss="alert"] span' , scroll = False )
247- zoom_in = "div.lead {zoom: 1.25 ;-moz-transform: scale(1.25 );}"
247+ zoom_in = "div.mx-auto p {zoom: 1.1 ;-moz-transform: scale(1.1 );}"
248248 self .add_css_style (zoom_in )
249249 self .highlight ("div#main_navbar" , loops = 1 , scroll = False )
250250 self .highlight ('li a:contains("ALL")' , loops = 1 , scroll = False )
@@ -254,7 +254,7 @@ def test_all_your_base_are_belong_to_us(self):
254254 self .highlight ('li a:contains("BELONG")' , loops = 1 , scroll = False )
255255 self .highlight ('li a:contains("TO")' , loops = 1 , scroll = False )
256256 self .highlight ('li a:contains("US")' , loops = 2 , scroll = False )
257- self .highlight ("div.lead " , loops = 6 , scroll = False )
257+ self .highlight ("div.mx-auto p " , loops = 6 , scroll = False )
258258 self .highlight ("h2" , loops = 8 , scroll = False )
259259
260260 self .open ("https://www.python.org/" )
@@ -284,6 +284,8 @@ def test_all_your_base_are_belong_to_us(self):
284284 self .set_text_content ('a[title="Plans & Pricing"]' , aybabtu )
285285 self .set_text_content ('a[title="Get Started"]' , ayb )
286286 self .set_text_content ("p.no-widows" , aybabtu )
287+ zoom_out = "h1{zoom: 0.8;-moz-transform: scale(0.8);}"
288+ self .add_css_style (zoom_out )
287289 self .set_text_content ("h1.no-widows" , aybabtu )
288290 self .set_text_content ("a#lpc-button" , "Automate with SeleniumBase" )
289291 self .highlight ('a[title="Plans & Pricing"]' , loops = 6 , scroll = False )
@@ -308,7 +310,6 @@ def test_all_your_base_are_belong_to_us(self):
308310 self .set_text_content ('a[href*="jira/pricing"]' , ayb )
309311 self .set_text_content ('a[href*="jira/enterprise"]' , abtu )
310312 self .set_text_content ('a[href="/software/jira/features"]' , "" )
311- self .set_text_content ('a[href="/software/jira/guides"]' , "" )
312313 self .set_text_content ("h1" , aybabtu )
313314 self .highlight ("ul.imkt-navbar__link-list" , loops = 2 , scroll = False )
314315 self .highlight ('a[href*="jira/pricing"]' , loops = 3 , scroll = False )
0 commit comments