Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 7 Текущий »

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

  1. Assemble a robot scheme with the actions.
  2. Set the "Open Browser" action parameter.
  3. Set the "Navigate" action parameters.

  4. Set the "Get active URL" action parameters. As the action result specify a URL string type variable created earlier.  
  5. Set the "Navigate" action parameters.
  6. Set the "Close browser" action parameters.
  7. Click "Start" in the top panel.

Result

The program robot completed successfully.

 

  • Нет меток