Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Get active URL Version 10 (Java)

...

Action group:

...

Browsers

Описание

Данное действие предназначено для перехода в рамках текущей вкладки по указанному URL.

Image Removed

Настройки

...

Description

This action is intended to navigate within the current tab to the specified URL

Action icon

Image Added

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with the browser

Свойство

Англ. наименование

Описание

Тип

Пример заполнения

Обязательность заполнения поля

Параметры

Контекст

ContextКонтекст действия для работы с браузером.
Robin.Selenium
Контекст браузера
Browser context
Да
Yes

Результаты

Результат
Results
Result
Результирующая переменная, в которую будет записан текущий URL
The resulting variable to which the current URL will be writtenRobin.String

Особые условия использования



Special conditions of use

It is possible to write without “www”, for example Возможна запись без "www", например "ya.ru".

Пример использования

Example of use

Task

Open browser and follow the link Задача: открыть браузер и перейти по ссылке https://wwwold.bankrot.googlefedresurs.com/, сохранить данную ссылку в строковую переменную для дальнейшего использования, открыть ссылку в новой вкладке. 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.
    Image Added
  2. Set the "Open Browser" action parameter.
    Image Added
  3. Set the "Navigate" action parameters.
    Image Added
  4. Set the "Get active URL" action parameters. As the action result specify a URL string type variable created earlier.   Image Added
  5. Set the "Navigate" action parameters.Image Added
  6. Set the "Close browser" action parameters.
    Image Added
  7. Click "Start" in the top panel.

Result

The program robot completed successfully.

Image Added 

...

Результат:

Программный робот отработал успешно. 

Image Removed