We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbba174 commit 89d4662Copy full SHA for 89d4662
tests/async/test_device_descriptors.py
@@ -2,10 +2,10 @@
2
3
4
@pytest.mark.only_browser("chromium")
5
-async def test_should_work(playwright) -> None:
+async def test_should_work(playwright, launch_arguments) -> None:
6
device_descriptor = playwright.devices["Pixel 2"]
7
device_type = device_descriptor["default_browser_type"]
8
- browser = await playwright[device_type].launch()
+ browser = await playwright[device_type].launch(**launch_arguments)
9
context = await browser.new_context(
10
**device_descriptor,
11
)
0 commit comments