Pauses your workflow until the specified page element is available.
Returns YES
if/when the page element exists and is not hidden, NO
otherwise. This action can be run while the web page is still loading, too.
Parameters
Browser
The browser to work with.
Selecting "frontmost browser" will only work if the application currently in the foreground is a supported browser.
Only available if Target tab isn’t set to "specific tab".
Type: Browser
Target tab
Specify which tab you want to work with. The option "active tab of frontmost window" will target the currently active tab at the time this action is executed, while "specific tab" will let you target an existing browser tab.
Options:
- active tab of frontmost window
- specific tab
Specific browser tab
If Target tab is set to "specific tab", this parameter expects a browser tab reference.
Type: Browser Tab
CSS selector
Any CSS selector (see https://developer.mozilla.org/en-US/docs/Glossary/CSS_Selector for more info).
Type: Text
Max. wait time
Add a pause before proceeding to the next action in the workflow.
Options:
- no pause
- 2 secs
- 4 secs
- 6 secs
- 8 secs
- 10 secs
- 12 secs
- 14 secs
- 16 secs
- 18 secs
- 20 secs
If element can't be found
If the element wasn't found in the allotted time, should the workflow stop and show an error, or should the error be ignored?
Options:
-
return
NO
- show error
Return Value
Boolean (YES
/NO
)
Related Links
- Search the Browser Actions community forum for "Wait for Element To Be Available (β)"