Navigate Version 12 (Java)
Action group: Browsers
Description
The action opens the page at the specified URL in the currently active tab
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 |
Page URL | URL to be navigated | Robin.String | Yes | |
In a new tab? | If the parameter value is true, then the page opens in a new tab, otherwise - in the active current tab. Note: JS script is used. | Robin.Boolean | true | No |
Special conditions of use
It is possible to write without "www", e.g. "ya.ru".
If the address is not specified or contains incorrect characters, the action will fail: "Invalid URI: Unable to parse hostname.".
Example of use
Task
It is necessary to go to the site on bankruptcy information, fill in the field "CODE" with a value less than 8 characters and click on the "OK" button in the window that appears.
Solution
Use the actions "Open Browser", "Navigate", "Send text", "Send Click".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the "Open Browser" action parameter.
- Set the parameters of the "Navigate" action.
- Set the parameters of the "Send Text" action. To create an element, use WebSpy (see Create Web-elements section).
- Set the parameters of the "Send Click" action. To create an element, use WebSpy (see Create Web-elements section).
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
Обзор
Инструменты контента