mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-25 08:02:32 +00:00
print current html on error
This commit is contained in:
1 parent
093d318dbc
commit
464a618f29
3 files changed
+7
-11
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user