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
Свойство | Англ. наименование | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
Параметры | |||||
Контекст | Context | Контекст действия для работы с браузером. | Robin.Selenium | Контекст браузера | Да |
Результаты | |||||
Результат | Result | Результирующая переменная, в которую будет записан текущий URL | 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.
Обзор
Инструменты контента