do not skip challenged

This commit is contained in:
ThePhaseless
2024-10-27 18:32:06 +00:00
parent 58f230dce3
commit aabff0a65f
2 changed files with 6 additions and 3 deletions
+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")