cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Waits--wait till element is visible in the DOM

Anonymous
Not applicable
Hi guys,

I need your advice. What is the best approach of having dynamic waits?
In Python I could write some code like this ==>wait till myDynamicElemenst appears in the DOM/Citrix Window is available.

driver = webdriver.Firefox()
driver.get("http://somedomain/url_that_delays_loading")
try:
    element = WebDriverWait(driver, 10).until(
        EC.presence_of_element_located((By.ID, "myDynamicElement"))
    )
finally:
    driver.quit()
How is best way to implement this at the object level in BP?

I need to wait for an element until is active in the DOM, it can wait 8s, 20s, 60s etc.

Thank you!

------------------------------
Cohen
RPA Developer

Romania
------------------------------
0 REPLIES 0