mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 03:48:09 +00:00
- added sleep in get available ssid
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
committed by
Sushant Bawiskar
parent
9822a32620
commit
6759c880b3
@@ -1764,6 +1764,8 @@ def wifi_disconnect_and_forget(request, WifiName, WifiPass, setup_perfectoMobile
|
||||
def get_all_available_ssids(driver):
|
||||
active_ssid_list = []
|
||||
try:
|
||||
time.sleep(8)
|
||||
driver.implicitly_wait(10)
|
||||
elements = driver.find_elements_by_xpath("//*[@resource-id='com.android.settings:id/title']")
|
||||
# print("elements: ", elements)
|
||||
print(len(elements))
|
||||
|
||||
Reference in New Issue
Block a user