Selenium API

API 'selenium' mengizinkan untuk mengatur dan melihat path ke WebDrivers dan biner yang dibutuhkan.

Tindakan/penampil API

Nama Tipe Parameter Deskripsi
getBrowserArguments lihat browser* Gets the browser arguments.
optionChromeBinaryPath lihat Returns the current path to Chrome binary
optionChromeDriverPath lihat Returns the current path to ChromeDriver
optionFirefoxBinaryPath lihat Returns the current path to Firefox binary
optionFirefoxDriverPath view Returns the current path to Firefox driver (geckodriver)
addBrowserArgument tindakan browser* argument* enabled Adds a browser argument.
launchBrowser tindakan browser* Launches a browser proxying through ZAP, for manual usage.
removeBrowserArgument tindakan 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)
Parameter berbintang adalah wajib

Lihat juga

     Selenium untuk sebuah ikhtisar add-on Selenium
     Pilihan layar Selenium untuk sebuah ikhtisar Pilihan Selenium