Definition and Usage
The Wait web page content command is used to instruct the workflow to wait until a specified element or text appears or disappears from a web page to proceed with the next command.
Parameters Values
Set parameters
Parameter | Definition |
Web page | Select the web page that you would like to wait on. There are 2 commands that can be used to generate a web page variable:
|
Wait for | Select the wait mode
|
Element | Select the target element from the existing variables or capture a new element variable to wait for |
Timeout (s) | Enter the number of seconds to wait for the element to be loaded |
Save result as | Name the variable generated by the parameters above |
Error handling
Parameter | Definition |
When error occurs | Select the action to be performed when an error occurs |
Example
The above workflow will go to https://www.octoparse.com/pricing on the built-in browser, save the page as a variable named "Ocotparse_PricingPage", and wait for an element named "Div_Billed Monthly" to be found on the page for 20 seconds, save the result as "Billed_Monthly", and left-click element named "Div_Billed Monthly" on the page named "Ocotparse_PricingPage".