headless
This commit is contained in:
1 file changed
+1
-1
@@ -87,7 +87,7 @@ async def already_claimed(container: Locator):
|
|||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
async with async_playwright() as p:
|
async with async_playwright() as p:
|
||||||
context = await launch_context(p, headless=False)
|
context = await launch_context(p, headless=True)
|
||||||
|
|
||||||
page = await context.new_page()
|
page = await context.new_page()
|
||||||
await page.goto(URL)
|
await page.goto(URL)
|
||||||
|
|||||||
Reference in new issue
Block a user