- added wait in setup_profiles

- added wait in ios_libs

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
sushant
2021-09-14 15:41:57 +05:30
committed by Sushant Bawiskar
parent b2f49b8356
commit b7f309f50f
2 changed files with 4 additions and 0 deletions

View File

@@ -996,6 +996,7 @@ def get_ip_address_ios(request, WifiName, WifiPass, setup_perfectoMobile, connDa
# ---------------------Set Password-------------------------------
try:
driver.implicitly_wait(5)
wifiPassword = driver.find_element_by_xpath("//*[@label='Password']")
wifiPassword.send_keys(WifiPass)
except NoSuchElementException:
@@ -1004,6 +1005,7 @@ def get_ip_address_ios(request, WifiName, WifiPass, setup_perfectoMobile, connDa
# ---------------------Click on join-------------------------------
try:
driver.implicitly_wait(5)
joinBTN = driver.find_element_by_xpath("//*[@label='Join']")
joinBTN.click()
except Exception as e: