Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Open Browser Version 28 (Java)

Action group: Browsers

...

Description

This action is intended to open the selected browser. A context is created when the browser is opened.

Action icon

Action parameters

Input parameters

Browser - The browser to be opened

...

Save in - The path to the folder where files should be saved when downloaded

Output parameters

Context - The context of the open browser session that will be accessed by further actions

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
BrowserBrowser selection. Optional. Default is Chrome.Robin.String
No
PropertiesList of browser properties and their values ​​that will be set when the browser startsRobin.String
No
Explicitly waitTime to wait for changes in the properties of individual elementsRobin.Numeric
No
Background modeBackground modeRobin.BooleantrueNo
URLURL to be navigated after opening the browserRobin.String
No
Save inPath to folder to save filesRobin.FolderPathC:\doc\imgNo
Results
ContextThe browser instance that Selenium will work withRobin.SeleniumBrowser context

Special conditions of use 

Example of filling in the "Properties" field (filled in automatically by recording actions in Recorder). 

...

Для этого нужно указать в свойствах "pageLoadStrategy":

{"acceptInsecureCerts":true,"browserName":"chrome","goog: loggingPrefs":{"browser":"ALL"},"pageLoadStrategy": "eager",
"timeouts":{"implicit":0,"pageLoad":300003,"script":30003},
"unhandledPromptBehavior":"dismiss",
"goog:chromeOptions":{"args":["disable-popup-blocking","disable-notifications","no-sandbox"],"extensions":[]}}

Кроме того, вместо значения "eager" можно указать значение "none", но тогда есть риск что страница не загрузится. Значение "eager" ждет только загрузки DOM страницы, не ожидая загрузки скриптов, изображений и других ресурсов, значение "none" вообще не ждет.

...