We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c63f72 commit 6332f3bCopy full SHA for 6332f3b
tests/test_search.py
@@ -2,7 +2,6 @@
2
These tests cover DuckDuckGo searches.
3
"""
4
5
-
6
from playwright.sync_api import Page
7
8
@@ -11,8 +10,8 @@ def test_basic_duckduckgo_search(page: Page) -> None:
11
10
page.goto('https://www.duckduckgo.com')
12
13
# When the user searches for a phrase
14
- page.fill('#search_form_input_homepage', 'panda')
15
- page.click('#search_button_homepage')
+ page.locator('#search_form_input_homepage').fill('panda')
+ page.locator('#search_button_homepage').click()
16
17
# Then the search result query is the phrase
18
# And the search result links pertain to the phrase
0 commit comments