История страницы
...
In case of such an error, update the driver. You can update the driver automatically using the , or manually.
buttonYou can also install the drivers for the respective browser in the ROBIN Studio Settings (Browser tab) starting from version 2.14.1. After installing the driver through the studio settings, the «env.cfg» file (configuration file for the robot and web recorder) will be created automatically.
For more details on information about filling in the fields of this form, see the «Settings» section ROBIN Studio. Settings
Alternatively, you can download the drivers manually from the following sources:
- Chrome: https://chromedriver.chromium.org/downloads
- Firefox: https://github.com/mozilla/geckodriver/releases/
- IE: https://www.selenium.dev/downloads/
- Yandex: https://github.com/yandex/YandexDriver/releases
- Opera: https://github.com/operasoftware/operachromiumdriver/releases
- Edge: https://github.com/mozilla/geckodriver/releases
...
- Download the version of the driver for the corresponding browser.
- Place the downloaded driver in the file system, for example, in the root of drive C.
- Create a folder named «.robin» in the profile of the current user. In Windows, this is usually: «C:/Users/{current_user_name}».
When creating the folder through the Windows interface, you may encounter an error: " The file name should be entered".
In case of an error, use «.robin.» (with a dot at the end) as the folder name instead of «.robin».
The folder will be created with the name «.robin». - In the folder, create the following file:
«envenv.cfg» cfg - configuration file for the robot and web-recorder (if you are using a platform version before 2.14.1, create two files: «envenv.cfg» cfg and «webSpyEnvwebSpyEnv.cfg»cfg).
You can create these files using Notepad. - Full path to the configuration files: C:\Users\<User>\.robin
- When saving the file, specify the .cfg extension by selecting "All types (.)" in the "file type" saving window.
Fill in the files in the following way:
[webdrivers]
webdriver.[browser_name].[browser_version].path=[absolute_driver_path], where [browser_name] is the type of browser from the list: * chrome * firefox * ie * yandex
[browser_version] is the version of the downloaded browser driver, written as v**XX**, where XX is the numerical version number of the driver.
[absolute_driver_path] is the path to the driver file, using a forward slash «»/»«
/Примечание Note!
When operating on a Linux system, you must specify the driver version, not the browser version. For example:
[webdrivers]
webdriver.firefox.v30.path=/opt/RobinPlatform/2.0.0/vendor/geckodriver-0.30
webdriver.firefox.v30.path=/opt/RobinPlatform/2.0.0/vendor/geckodriver-0.31
Examples of filling:Предупреждение title Note! Attention!
Предупреждение icon false title Attention! The config works with the
header[webdrivers]
.header
To apply the slash work, you must replace it with a backslash
Template:
[webdrivers]
webdriver.chrome.v105.path=C:/chromedriver.exe
webdriver.chrome.v106.path=C:/chromedriver.exe
webdriver.chrome.v107.path=C:/chromedriver.exe
Note! For platform versions earlier than 2.14.1, you need to create 2 files:- Save the config files in the «.robin» folder. Now, in case the required driver is not available in the distribution, the robots and studio will use the drivers specified in the configuration files.
In ROBIN Platform version 2.14.1 and later, you can specify startArgs in «envenv.cfg»cfg. In the %BrowserName%Args parameter, you can specify a set of arguments for launching the driver in the corresponding configuration components. For example:
...
In ROBIN Platform versions before 2.14.1, Web-recorder and Robot (action execution) use different configs. Web-recorder reads parameters from the «webSpyEnvwebSpyEnv.cfg» cfg file, and actions are read from the «envenv.cfg» cfg file. In ROBIN Platform version 2.13.1, start arguments and profile for Chrome are specified in different sections and parameters. Arguments are specified in the «startChromeArgs» startChromeArgs section in «envenv.cfg» cfg and «webSpyEnvwebSpyEnv.cfg»cfg. The «args» args parameter can be used to specify a set of arguments for launching the driver in the corresponding configuration components. The profile is specified in the «profile» profile section and parameter.