Reload tab
Reloads the page in the tab the workflow is using and waits for it to load.
Only in
WarpX Browser
Reload tab loads the current page again, like the browser's reload button. Use it to fetch fresh content, such as an order status that changes, or to try again when a page loaded badly. The block waits for the page to finish loading before the next block runs.
Settings
This block has no settings of its own.
Every block also has the shared block settings — a description, Disable block and what to do on an error. Fields that take text accept data from earlier blocks.
What it hands on
Leaves by its only output. It writes nothing to the table or to variables. It fails with no-tab when the workflow has no tab yet.
Example: Check an order until it ships
- Open URL
- Get text
- Conditions
- Delay
- Reload tab
- Add Open URL with
https://shop.example.com/orders/{{variables.orderId}}. - Add Get text on
.order-statusand save the text to the variablestatus. - Add Conditions with a path that checks whether
{{variables.status}}isShipped, and connect that path to the rest of the workflow. - Connect Fallback to Delay with
60000, then to Reload tab, and connect Reload tab back to Get text.
Good to know
- The block has no settings of its own.
- Anything you typed into the page, and its scroll position, may be lost, as with a reload by hand.
- If the page takes longer than 30 seconds to load, the block fails.
See also
- Open URL — Load a web address in the current tab or a new one, and wait for it to load.
- Go back — Goes back one page in the tab the workflow is using, like the browser's back button.
- Get tab URL — Read the address of the current tab, or of every tab that matches a pattern.
- Delay — Pauses the run for a set number of milliseconds before the next block.