bring tab to front

This commit is contained in:
Thephaseless 2024-07-25 00:39:06 +00:00
parent b9a433905e
commit 0178eeec68

View File

@ -33,6 +33,7 @@ async def read_item(request: LinkRequest):
start_time = int(time.time() * 1000)
browser = await new_browser()
page = await browser.get(request.url)
await page.bring_to_front()
challenged = await asyncio.wait_for(
bypass_cloudflare(page), timeout=request.maxTimeout