print current html on error

This commit is contained in:
ThePhaseless
2024-10-18 15:53:36 +00:00
parent 093d318dbc
commit 464a618f29
3 changed files with 7 additions and 11 deletions
-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")