Primo RPA Global
  • Primo RPA
  • Primo Studio
    • Useful links
    • System requirements
    • Editions
    • Installation and updates
      • Robot Core manual installation and execution
      • Updates
    • Launching and getting started
      • Getting started
    • Studio settings
      • Extensions and plugins install
        • Chrome
        • FireFox
        • Opera (Deprecated)
        • Edge
        • Yandex
        • RDP
        • Java
      • Automated installation of extensions for browsers
      • Updating Selenium WebDriver
      • NuGet
      • Fine-tuning
        • Multi-session work
    • Working with projects
      • Analyzing projects
      • Creating libraries
      • Dependencies
      • Namespaces
    • Working with processes
      • Sandbox
    • Working with sequences
    • Working with workflows
    • Working with Code
    • Working with elements
    • Process execution and debugging
      • Testing
    • Script recording
    • Log
    • Variables and arguments
    • Search
    • Search patterns
    • Release control
    • Traffic record
    • UI inspector
    • SAP Inspector
    • Mobile devices
    • Panel management
    • Robot
      • Robot editions
    • RDP
    • Tools
      • Import
      • OCR pattern editor
      • Dialog designer
  • Elements
    • Base elements
      • 1C
        • 1C (local)
        • 1C (server)
        • Execute query
      • Assistant
        • Show hint
      • Browser
        • Open browser
        • Attach browser
        • Activate browser
        • Text input
        • Element vanish
        • Close browser
        • Mouse click
        • Navigate
        • Get attribute
        • Get list
        • Get text
        • Element exists
        • Read table
        • Get image
        • Select item
        • Set focus
        • Anchor
        • Execute JS
        • Back
      • Clipboard
        • Get from clipboard
        • Copy to clipboard
      • Collections
        • Add to array
        • Table to CSV
        • Table filter
      • Cryptography
        • Set Credentials
        • Get Credentials
        • Delete Credentials
      • Data
        • Date/time
          • Current date/time
          • Date diff
          • Date part
          • Date to string
          • Modify date
          • String to date
        • Archiving
          • Create archive
          • Extract archive
        • HTML
          • HTML to object
        • JSON
          • JSON to object
          • Object to JSON
        • Mapping
          • Create mapping
          • Update mapping
        • Strings
          • Cast to string
          • Get substring
          • Regular expression
          • Replace substring
          • Split string
          • String length
          • Substring exists
          • Trim string
        • XML
          • XML to object
          • XPath query
          • Object to XML
        • Data tables
          • Add column
          • Add row
          • Clean table
          • Create table
          • Merge tables
          • Remove column
          • Remove row
          • Sort table
      • Database
        • Connect
        • Execute query
      • Desktop
        • Activate window
        • Anchor
        • Attach application
        • Close application
        • Create desktop video
        • Drag and drop
        • Element exists
        • Element vanish
        • Get list
        • Get processes
        • Get text
        • Hot-key simulation
        • Kill application
        • Maximize window
        • Minimize window
        • Mouse click
        • Read table
        • Restore window
        • Select item
        • Set focus
        • Start application
        • Take screenshot
        • Text input
        • Type simulate
      • Dialogs
        • Add to log
        • Comment
        • Message box
        • Input dialog
        • Beep
        • Custom input
      • E-mail
        • Data types
          • OMailMessage
          • MailFormats
          • OMailAttachment
          • MailMessage
          • MailAttachments
          • OContact
        • Lotus Notes
          • Attach Lotus Notes
          • Save attachment
          • Delete mail
          • Move mail
          • Read mail
          • Send message
        • MS Exchange
          • MS Exchange Server
          • Delete messages
          • Mark messages
          • Move to folder
          • Read mail
          • Save attachment
          • Save mail
          • Send mail
        • Move to folder (IMAP)
        • Receive mail (IMAP)
        • Receive mail POP3
        • Send message (SMTP)
      • File system
        • Append line
        • Write file
        • Copy file
        • Move file
        • File search
        • Create directory
        • Create file
        • File/folder exists
        • Delete file/folder
        • Read file
      • Flow control
        • If-Else
        • Switch
        • Try-Catch
        • Exit sequence
        • Break
        • Comment out
        • Throw
        • Wait
        • Parallel threads
        • Sequence
        • Assign
        • Continue
        • Process link
        • Do-While
        • ForEach
        • While
      • Google Sheets
        • Google Sheets document
        • Write range
        • Read range
      • Message queues
        • ActiveMQ
          • Send message
          • ActiveMQ
        • Kafka
          • Send message
          • Read messages
      • MS Excel
        • Run macro
        • Excel workbook
        • Cell input
        • Select range
        • Append range
        • Calculate formulas
        • Sort range
        • Get sheets
        • Save workbook
        • Delete range
        • Filter range
        • Read range
      • MS Outlook
        • Outlook
        • Close Outlook
        • Send message
        • Read address book
        • Read mail
      • MS Word
        • Add table row
        • Copy to clipboard
        • Delete text
        • Export document
        • Find text
        • Get text
        • Insert image
        • Insert table
        • Read table
        • Replace text
        • Save document
        • Select range
        • Text input
        • Word document
        • Write table cell
      • Network
        • FTP
          • Send to FTP
          • Download FTP file
          • List FTP files
        • Terminal server
          • Connect
          • Execute script
          • Disconnect
        • Web request
      • OCR
        • ABBYY FlexiCapture
          • FlexiCapture server
          • Process documents
        • Dbrain
          • Classify documents
          • Dbrain server
          • Process documents
        • Microsoft OCR
        • Tesseract OCR
        • Yandex Vision OCR
        • Image Vanish
        • Image click
        • Text click
        • Image exists
        • Text recognition
        • Validate document
      • Orchestrator
        • Assets
          • Get Asset
          • Get Credentials
          • Set Asset
          • Set Credentials
        • Process
        • Queues
          • Peek queue
          • Add to queue
      • PDF
        • Add watermark
        • Page count
        • Merge documents
        • Get image
        • Get text
      • Programming
        • C# Script
        • Invoke method
        • JavaScript
        • Python Script
        • Command prompt
        • Power Shell
      • SAP Front end
        • BAPI
          • BAPI connection
          • BAPI function
        • Attach SAP
        • Calendar
        • Check box
        • Combo box
        • Control exists
        • Get text
        • Mouse click
        • Open SAP
        • Radio button
        • Set focus
        • Tab strip
        • Table
        • Text input
        • Tree
      • Smart devices
        • Attach device
        • Press hot-key
        • Type text
        • Start application
        • Tap control
        • Get text
      • Testing
        • Get next local test data
        • Mock
        • Verify expression
        • Verify expression with operator
        • Verify output with operator
      • Workflow
        • Decision
        • Sequence
        • State
        • Workflow
  • Orchestrator
    • Monitoring
    • Automation
      • Tasks
    • Administration
      • Workers
      • Robots
      • Projects
      • Templates
      • Assets
      • Queues
    • Setting
      • Distribute
      • Journal
      • Users
      • Roles
      • Licenses
    • User settings
Powered by GitBook
On this page
  • General
  • Automatic installation of the extension
  • Alternative method of installation
  • Изменение версии расширения
  • Installation description
  • Uninstalling the extension
  1. Primo Studio
  2. Studio settings

Automated installation of extensions for browsers

PreviousJavaNextUpdating Selenium WebDriver

Last updated 11 months ago

Interaction of Primo products with Web browsers requires installing Primo RPA Extension. It is suitable for the following browsers: Chrome, Firefox, Edge, Yandex.

This section provides information about automating the installation of Primo RPA Extension version 1.59.*

*When extension version is changed from 1.59, it might be necessary to make changes to the script _Install_BrowserExtensions_GPO.bat. More information about it can be found in the subsection .

General

Distribution package of the extension can be found in the \Extensions folder of Primo Studio/Primo Robot. These programs should be installed on the computer before installing the extension.

For Chrome, Edge and Yandex browsers, distribution file \Extensions\Chrome\chrome.crx should be used. For Firefox - distribution file \Extensions\primo_rpa_extension-1.2-fx.xpi.

The extension can be installed:

  • manually, after installing Studio/Robot. Installation instructions can be found ;

  • automatically - using the scripts _Install_BrowserExtensions_GPO.bat and _InstallWebBrowserNative.bat described below.

Studio and Robot interact with browsers and their extensions via the file LTools.WebBrowser.Native.exe. It is located in the folder with Primo Studio and Primo Robot applications. The extension connects with this file using:

  • Windows registry entry, corresponding to the browser and its plugin;

  • and the json file that has the path to LTools.WebBrowser.Native.exe.

If this connection is set up correctly, then when the extension is enabled and the browser is started with a non-blank URL, it will automatically start LTools.WebBrowser.Native.exe. After that, data exchange takes place between the Robot and the browser: the Robot controls the web page, clicks on its HTML elements, refreshes the page, goes to other URL addresses - in other words, performs all actions in accordance with the launched RPA project.

Automatic installation of the extension

  1. Download the archive and unzip it:

  2. Copy the files _Install_BrowserExtensions_GPO.bat and _InstallWebBrowserNative.bat into the folder with Studio/Robot program, so that they are placed near the file Primo.Robot.exe - for example, in C:\Program Files\Primo\Primo Studio.

  3. Run the scripts in succession.

If the extension has already been installed for the current user, the browser extension menu shows it as enabled, and it is the latest version, then it is sufficient to use only the _InstallWebBrowserNative.bat script.

Alternative method of installation

Copy the files from step 2 into any folder, and subsequently run them with the argument pointing at the Studio/Robot folder (without the slash at the end). For example:

C:\Scripts\_InstallWebBrowserNative.bat “C:\Program Files\Primo\Primo Robot x64”

Изменение версии расширения

When extension version is changed from 1.59, it might be necessary to make changes to the script _Install_BrowserExtensions_GPO.bat. Open the script file and check the version of the extension being installed. If needed, change it:

Installation description

The process of auto installation can be divided into two stages:

  • installing browser extension so that it is visible and enabled in the browser for the current user;

  • connecting the extension with the file LTools.WebBrowser.Native.exe via Windows registry and a json file for each user.

The file _Install_BrowserExtensions_GPO.bat is run once on the server. It automatically sets up the group policy for installing the extension for all browsers and for all users under which Primo Robot will be working on the computer (terminal server). It can be run by the user who has administrative privileges on that server. Running this script again is only necessary if the plug-in version is updated in the new Studio/Robot distribution package. Internet connection is not required for installation, which is important for corporate environments.

A similar policy is used for Edge and Yandex. Extension for these browsers is installed from a local file \Extensions\Chrome\chrome.crx.

The script _InstallWebBrowserNative.bat is run once for each user from the folder where the corresponding Primo Robot and its LTools.WebBrowser.Native.exe are located. Running it does not require administrative privileges and can be done manually by double-clicking or by a script, including a Primo process - for example, a task from Orchestrator, if it has not been run yet in the current user profile. Running this script again will be needed only if the user profile is updated for some reason, or if the Studio/Robot folder along with the file LTools.WebBrowser.Native.exe is moved to a different location.

If the extension has already been installed for the current user, the browser extension menu shows it as enabled, and it is the latest version, then it is sufficient to connect it with LTools.WebBrowser.Native.exe, that is, use only the _InstallWebBrowserNative.bat script.

Uninstalling the extension

To uninstall the extension for all browsers, use the script Uninstall_BrowserExtensions.bat, which was previously extracted from the InstallExtensions.zip archive. You can run this file as administrator from any folder.

This script uninstalls the plug-in from all browsers by reversing the installation changes: it removes the group policy for extension installation, which was enabled by the script _Install_BrowserExtensions_GPO.bat.

The script _Install_BrowserExtensions_GPO.bat should be run with administrator privileges. They are not required to run the second file.

Forced installation of the extension is based on the group policy .

Firefox uses a different policy that is described . Installation for Firefox is done from the file \Extensions\primo_rpa_extension-1.2-fx.xpi.

When using the scripts it should be noted that only Primo RPA Extension that is registered in with the identifier id=pbdnfhljkbaiibahdfcmgnfpapchlmmp can be installed

‼️
ExtensionInstallForcelist
here
Chrome Web Store
below
here
InstallExtensions.zip