remove used waiting
This commit is contained in:
@@ -7,8 +7,6 @@ import time
|
||||
from typing import Union
|
||||
|
||||
from playwright.sync_api import sync_playwright
|
||||
|
||||
import definitions
|
||||
import params
|
||||
from pojo.ModeEnum import ModeEnum
|
||||
from pojo.ReserveResultPojo import ReserveResultPojo, PublishType
|
||||
@@ -102,7 +100,6 @@ class CommandorPage:
|
||||
proxy = params.get_proxy(self.proxy_type)
|
||||
# wait for sms_code field
|
||||
# self.clickOnValidBtn()
|
||||
time.sleep(4000)
|
||||
self.thread_event = e
|
||||
otp_input = self.page.locator(OTP_FIELD_ID)
|
||||
otp_input.wait_for(state='visible', timeout=TIME_OUT)
|
||||
|
||||
Reference in New Issue
Block a user