print current html on error

This commit is contained in:
ThePhaseless committed 2024-10-18 15:53:36 +00:00
1 parent 093d318dbc
commit 464a618f29
3 files changed
+7 -11

No files matched your search

-1
View File
@@ -81,7 +81,6 @@ async def bypass_cloudflare(page: webdriver.Tab):
continue
if not isinstance(elem, Element):
logger.fatal("Element is a string, please report this to Byparr dev")
raise InvalidElementError
elem = await page.find("input")