README
WEB Pro
Module with extended functionalities for the browser that works as a complement to the commands of the web section
Read this in other languages: English, Português, Español
How to install this module
To install the module in Rocketbot Studio, it can be done in two ways:
- Manual: Download the .zip file and unzip it in the modules folder. The folder name must be the same as the module and inside it must have the following files and folders: _init_.py, package.json, docs, example and libs. If you have the application open, refresh your browser to be able to use the new module.
- Automatic: When entering Rocketbot Studio on the right margin you will find the Addons section, select Install Mods, search for the desired module and press install.
Overview
-
List of items
Gets a list of all elements and their children from a class or name in order to iterate over it. -
Clean input and send text
Deletes the contents of an input object and sends the text -
Save Cookies
Saves the cookies of a page so that it can be loaded in another instance -
Load Cookies
Loads a file with cookies -
Reload Page
Reload Page -
Back
Back to previous page -
Double Click
Double click on a selected object -
Scroll
Scroll to a specific position -
Count Elements
Delivers the total number of elements -
Select Object by Index
Select an object by passing it the index -
Click Object by Index
Click an object by passing it the index -
Export page to PDF
Export the page to a PDF file. If the page contains sticky elements, they can be removed with Javascript to get a proper export. -
Open Chrome headless
Open Chrome in headless mode -
Take screenshot from coordinates
Take a screenshot to a section of the page by coordinates -
Get bounding rectangle
Obtains x and y coordinates and dimensions of an object -
Get location of an object
Get x and y coordinates of an object -
Get size of an object
Get size of an object -
Open Chrome developer mode
Open Google Chrome with unsafe mode or debugger mode -
See Console
Get info from console -
WebPage to PNG
It takes multiple snapshots of the web page and concatenates them into one. If the page contains fixed elements, they can be removed with Javascript to obtain a correct export. -
Hover Element
Move mouse over the element -
Open Edge (Chromium)
Open the new Edge based on Chromium -
Click Pro
Click on a selected object waiting that it's clickeable -
Extract text Pro
Get a text object waiting that it's present -
Select object Pro
Select an object waiting that it's present -
Change to iframe Pro
Change to iframe waiting that it's present -
Change to iframes nested
Enter multiple iframes waiting for them to appear -
Send Keys
Similar to Send keys web, but low level -
Print to PDF (Chrome)
Print the page as a PDF in Chrome. The PDF is generated based on the available content of the page. It does not represent a true copy of the site. -
Print to PDF 2
Print the page as a PDF in Chrome. The PDF is generated based on the available content of the page. It does not represent a true copy of the site. -
Force Download
Force Download -
Open New Tab
Open new tab with the URL -
Open Browser
Open a browser the URL -
Drag and drop
Do a drag and drop -
Upload files
Command to upload one or more files to an input of type file. Just complete a single value depending on how many files you want to upload. -
Send key combination
Command to send key combination -
Right Click
Right click on a selected object -
Get image
This command allows you to download an image from antag
-
Select multiple options
Select multiple options from a select -
Delete cookies
Delete browser cookies -
Get Cookies
Get the current browser cookies -
Clear Cache Chrome
Clears the cache stored in the browser -
Access Shadow DOM
Access an element within a Shadow DOM. The data must belong to the parent element of the shadow-root. -
Zoom
Zoom In or Zoom Out in Google Chrome and Firefox browsers. -
Get tab titles
Returns a list with the titles of all open tabs in the browser. -
Switch tab by title
Switches browser control to the first tab whose title contains the specified text. -
Take Playwright
Command that allows using the commands of modules that use selenium such as this one or the native web module with the browser opened by Playwright. To close the browser you will have to use the Close browser command from the Playwright module -
Open System Browser
Opens a system browser and, with a debugging port, attaches it to Selenium to use webpro module commands. -
Close System Browser
Closes the system browser using the stored PID. -
Close Browser
Close the browser using the ID.
OS
- windows
- mac
- linux
- docker
