Selenium API

API selenium позволяет задавать и просматривать пути к необходимым веб-драйверам ( WebDrivers ) и двоичный ( бинарным).

Действия/представления API

Имя: Тип Параметры Описание
getBrowserArguments просмотр browser* Gets the browser arguments.
optionChromeBinaryPath просмотр Returns the current path to Chrome binary
optionChromeDriverPath просмотр Returns the current path to ChromeDriver
optionFirefoxBinaryPath просмотр Returns the current path to Firefox binary
optionFirefoxDriverPath view Returns the current path to Firefox driver (geckodriver)
addBrowserArgument действие browser* argument* enabled Adds a browser argument.
launchBrowser действие browser* Launches a browser proxying through ZAP, for manual usage.
removeBrowserArgument действие browser* argument* Removes a browser argument.
setBrowserArgumentEnabled action browser* argument* enabled* Sets whether or not a browser argument is enabled.
setOptionChromeBinaryPath action String* Sets the current path to Chrome binary
setOptionChromeDriverPath action String* Sets the current path to ChromeDriver
setOptionFirefoxBinaryPath action String* Sets the current path to Firefox binary
setOptionFirefoxDriverPath action String* Sets the current path to Firefox driver (geckodriver)
Параметры, отмеченные звездочкой, являются обязательными.

Смотрите также

     Selenium для обзора надстройки Selenium
     Параметры Selenium экрана для обзора опций Selenium