Skip to content

Commit 7bc845c

Browse files
committed
Update an example test
1 parent b4be010 commit 7bc845c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/hack_the_planet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def test_all_your_base_are_belong_to_us(self):
2828
zoom_in = "#ca-history a{zoom: 1.8;-moz-transform: scale(1.8);}"
2929
self.add_css_style(zoom_in)
3030
self.highlight("#ca-history a", loops=5, scroll=False)
31-
zoom_in = "div.thumbinner{zoom: 1.6;-moz-transform: scale(1.6);}"
31+
zoom_in = "img[src*=Ayb]{zoom: 1.6;-moz-transform: scale(1.6);}"
3232
self.add_css_style(zoom_in)
33-
self.highlight("div.thumbinner", loops=10, scroll=False)
33+
self.highlight("img[src*=Ayb]", loops=10, scroll=False)
3434

3535
if not self.headless:
3636
self.open("https://www.apple.com/store")

0 commit comments

Comments
 (0)