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

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

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

Scroll Version 4 (Рython)

Action group: Simulate system


Description

The action scrolls the displayed content as you scroll with the mouse. 

Action icon

Settings 

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Number of pixelsThe number of pixels to scroll down/right. If you enter a negative value, you will scroll up/left.Robin.Numeric
Yes

 

Special conditions of use

Before using the action set focus on the window where the scroll is needed.

 

Example of use

Task

Open browser and follow the link:  https://en.wikipedia.org/wiki/Main_Page, scroll the page down by 100 pixels and take a screenshot. 

Solution

Use the "Open Browser", "Scroll", "Take screenshot" actions.  

Implementation

  1. Assemble a robot scheme with actions: 
  2. Set the "Open Browser" action parameters.  
  3. Set the "Scroll" action parameter. 
  4. Set the "Take screenshot" action parameter. 
  5. Click the "Start" button in the top panel. 


Result 
The program robot completed successfully.

The screenshot of the page was taken and saved in the called folder. 


  • Нет меток