You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created simple methods for locating elements in WPF application. I simply used WebDriverWait which looks like this
try: wait.until(EC.presence_of_element_located((By.ID, element))) except Exception as error: print(error)
The main problem is that when I set time for example 60 seconds and my control show up, script is still looking up for it. Is that normal behaviour of this function? It's pretty same functionality as Time.Sleep(30)
Is there a better usage of wait class for desktop applications?
The text was updated successfully, but these errors were encountered:
Hi,
I've created simple methods for locating elements in WPF application. I simply used WebDriverWait which looks like this
try: wait.until(EC.presence_of_element_located((By.ID, element))) except Exception as error: print(error)
The main problem is that when I set time for example 60 seconds and my control show up, script is still looking up for it. Is that normal behaviour of this function? It's pretty same functionality as Time.Sleep(30)
Is there a better usage of wait class for desktop applications?
The text was updated successfully, but these errors were encountered: