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

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-09-19 06:58 AM
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.
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
------------------------------
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
