Skip to content

Commit 363e805

Browse files
committed
Update an example test
1 parent 909f572 commit 363e805

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/wordle_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ def skip_if_incorrect_env(self):
6161
def test_wordle(self):
6262
self.skip_if_incorrect_env()
6363
self.open("https://www.nytimes.com/games/wordle/index.html")
64+
self.remove_elements("div.ad")
6465
self.click('svg[data-testid="icon-close"]')
66+
self.remove_elements("div.ad")
6567
self.initialize_word_list()
6668
word = random.choice(self.word_list)
6769
num_attempts = 0

0 commit comments

Comments
 (0)