There was an error while loading. Please reload this page.
1 parent 910ee1f commit 7cd42efCopy full SHA for 7cd42ef
1 file changed
examples/wordle_test.py
@@ -56,8 +56,9 @@ def test_wordle(self):
56
self.goto("https://www.nytimes.com/games/wordle/index.html")
57
self.click_if_visible("button.purr-blocker-card__button", timeout=2)
58
self.click_if_visible('button:contains("Play")', timeout=2)
59
+ self.click_if_visible('button[class*="Skip-module"]', timeout=4)
60
self.click_if_visible('svg[data-testid="icon-close"]', timeout=2)
- self.remove_elements("div.place-ad")
61
+ self.remove_elements('div[class*="Ad-module]')
62
self.initialize_word_list()
63
random.seed()
64
word = random.choice(self.word_list)
0 commit comments