# Help with web automation

**URL:** <https://discourse.openiap.io/t/help-with-web-automation/1300>\
**Category:** OpenRPA\
**Created:** [April 25, 2024, 11:10am UTC](https://discourse.openiap.io/t/help-with-web-automation/1300 "2024-04-25T11:10:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabrielMoraya](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/g/82dd89/32.png) [@gabrielMoraya](https://discourse.openiap.io/u/gabrielMoraya)\
**Post date:** [April 25, 2024, 11:10am UTC](https://discourse.openiap.io/t/help-with-web-automation/1300/1 "2024-04-25T11:10:35Z")

</div>

Hello, I need to automate a process where the rpa needs to download an archive from a website, but the archive don´t have a specific time to be avaliable for download, it´s in a range of fifteen minutes and i need to get the info as soon as possible. Does anyone have a suggestion of how to do that?

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [April 26, 2024, 8:26am UTC](https://discourse.openiap.io/t/help-with-web-automation/1300/2 "2024-04-26T08:26:16Z")

</div>

if there is nothing that can tell you when it’s ready, then all you can do is retry with some interval.

---

<div class="post-metadata">

**Author:** ![gabrielMoraya](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/g/82dd89/32.png) [@gabrielMoraya](https://discourse.openiap.io/u/gabrielMoraya)\
**Post date:** [April 26, 2024, 5:39pm UTC](https://discourse.openiap.io/t/help-with-web-automation/1300/3 "2024-04-26T17:39:03Z")

</div>

Actually the main problem is that after 15 minutes of trying it need´s to report failure.  
My solution was to run a python code to check if the time has passed and return a variable named validacao with value 1 if the conditions proced or 2 they dont. After that i run an if in the rpa workflow and if validacao = 2 it goes to a planned get element failure, else continues the workflow.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [May 3, 2024, 5:39pm UTC](https://discourse.openiap.io/t/help-with-web-automation/1300/4 "2024-05-03T17:39:44Z")

</div>

Closed on May 3, 2024, 5:39pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
