mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 03:48:09 +00:00
WIFI-6814: Adding logic to continue retrieving SSID's incase a cached ID is encountered which is no longer present in the DOM
Signed-off-by: Ajaydeep Grewal <grewal19in@gmail.com>
This commit is contained in:
@@ -2495,7 +2495,10 @@ def get_all_available_ssids(driver, deviceModelName):
|
||||
for i in range(len(elements)):
|
||||
# print("elements[i]", elements[i])
|
||||
# print("elements[i].text", elements[i].text)
|
||||
active_ssid_list.append(elements[i].text)
|
||||
try:
|
||||
active_ssid_list.append(elements[i].text)
|
||||
except:
|
||||
print("Encountered a cache SSID which is no longer in the DOM.Moving to next SSID.")
|
||||
except:
|
||||
print("No SSIDS available")
|
||||
return active_ssid_list
|
||||
|
||||
Reference in New Issue
Block a user