Get active URL Version 10 (Java)
Action group: Browsers
Description
This action is intended to navigate within the current tab to the specified URL
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with the browser | Robin.Selenium | Browser context | Yes |
Results | ||||
Result | The resulting variable to which the current URL will be written | Robin.String |
Special conditions of use
It is possible to write without “www”, for example "ya.ru".
Example of use
Task
Open browser and follow the link https://old.bankrot.fedresurs.ru/DebtorsSearch.aspx?Name=, save this link to a string type variable for further use, open the link in a new tab, next - close browser.
Solution
Use the "Open Browser", "Navigate", "Get active URL", "Navigate", "Close browser" actions.
Implementation
- Assemble a robot scheme with the actions.
- Set the "Open Browser" action parameter.
- Set the "Navigate" action parameters.
- Set the "Get active URL" action parameters. As the action result specify a URL string type variable created earlier.
- Set the "Navigate" action parameters.
- Set the "Close browser" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
Обзор
Инструменты контента