remove unused code

This commit is contained in:
2023-01-04 10:53:27 +01:00
parent 22ef7707c4
commit bfd54c1f1f
2 changed files with 16 additions and 8 deletions
+1 -2
View File
@@ -97,7 +97,7 @@ class CommandorPage:
self.otp_value = None
# device = None
device_key = random.choice(params.DEVICES)
device_key = random.sample(list(self.tls.playwright.devices), 1)[0]
# device_key = random.sample(list(self.tls.playwright.devices), 1)[0]
device = self.tls.playwright.devices[device_key]
# while device is None:
# device_key = random.sample(list(self.tls.playwright.devices), 1)[0]
@@ -417,7 +417,6 @@ class CommandorPage:
def handle_captcha_error(self):
MONGO_STORE_MANAGER.insert_captcha_error_contact(self.contact)
params.oracle_log_sender.send_captcha_error(self.contact)
def check_is_blocked(self) -> bool:
iframe = self.page.query_selector('iframe').content_frame()