Definition and Usage
The Wait web page content command is used to instruct the workflow to wait for the specified element or text to appear or disappear on the web page before proceeding to the next step in the workflow.
The command works by providing an element selector or text for the workflow to watch for. Depending on the configuration, it can then pause the workflow until the element appears or disappears, or it can time out and send an error if the element or text does not appear or disappear in the set timeframe.
Parameters Values
Set parameters
Parameter | Description |
Web page | Select a target web page |
Wait for | Select a condition to be checked on the target web page |
Element | Specify the element or text to be checked with |
Timeout (s) | Specify the amount of time (in seconds) to wait for the page to load |
Save result as | Save the check result as a new variable |
Error handling
Parameter | Description |
When error occurs | Specify the action to proceed when an error occurs |
Example
The above workflow will go to the web page "www.octoparse.com" in a built-in browser and save the website URL as a new variable named "Octoparse", then wait for the text "Login" is found on the target web page for 5 seconds, and save the wait reult as a variable named "Wait_Result".