do not skip challenged

This commit is contained in:
ThePhaseless committed 2024-10-27 18:32:06 +00:00
1 parent 58f230dce3
commit aabff0a65f
2 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ async def bypass_cloudflare(page: webdriver.Tab):
raise InvalidElementError
for attr in parent.attributes:
if attr == "display: none; visibility: hidden;":
if attr == "display: none; visibility: hidden;" and not loaded:
loaded = True
logger.info("Page loaded")