use user-agent of ios

This commit is contained in:
2022-09-01 10:36:58 +02:00
parent d840f5abc3
commit b99737e7e4
+2
View File
@@ -186,6 +186,8 @@ class CommandorPage:
# time.sleep(40000)
self.logger.info("页面加载完毕")
self.logger.info("url is " + self.page.url)
captcha_url = "geo.captcha-delivery.com/captcha"
if captcha_url not in self.page.content():
if self.page.url == RDV_URL:
self.fill_fields()
try: