remove unused code
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user