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

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

« Предыдущий Версия 4 Следующий »

Send hot keys Version 14 (Java)

Action group: Browsers


Description

The action emulates pressing hot keys on a browser page. Hot keys are combinations on the keyboard that execute certain commands.

Action icon


Settings of parameters

СвойствоОписаниеТипПример заполненияОбязательность заполнения поля
Параметры
КонтекстКонтекст действия для работы с браузером.Robin.SeleniumКонтекст браузераДа
Горячие клавишиСписок нажимаемых горячих клавиш. Прим. : действие не работает со следующими клавишами: capslk, break, scrlk, prtsc, win, menu, numlk, fn.Robin.HotKeys
Да
ЭлементЭлемент для взаимодействияRobin.WebElement
Нет
Задержка, мсВремя ожидания между нажатием отдельных клавиш и комбинациями.Robin.Numeric
Нет

Special conditions of use

  • This action is not intended for text input, so its functionality is limited. To enter text or required characters, use the "Send text" action.

  • If the specified element is out of view, scroll to it.
  • The action does not work with the following keys: capslk, break, scrlk, prtsc, win, menu, numlk, fn.
  • To add additional key combinations, click on the plus sign. The number of additional combinations is unlimited.

  • To delete the parameters of additional combinations, click on the trash bin sign:

Example of use

Task

Copy all the website elements from https://ru.wikipedia.org using hot keys.

Solution

Use the "Open Browser", "Send hot keys" actions.

Implementation

  1. Assemble a robot scheme with the actions.



  2. Set the "Open Browser" action parameters (see Open Browser Windows, tabs, frames).

    1. "Browser" parameter. Select the browser for the robot to open.

    2. "URL" parameter. Specify the URL to go to after opening the browser.



  3. Set the "Send hot keys" action parameters.

    1. "Context" parameter. Specify the open browser context.

    2. "Hot key" parameter. Specify the hot key list. Here it is "LCtrl + A" and "LCtrl + C".



  4. Click "Start" in the top panel.

Result

The program robot completed successfully. All page elements were saved to the clipboard.


  • Нет меток