![]() ![]() To use a global installation of this package with selenium-webdriver on Windows, copy or link geckodriver.exe to a location on your PATH (such as the NPM bin directory) after installing this package: mklink %USERPROFILE%\AppData\Roaming\npm\geckodriver.exe %USERPROFILE%\AppData\Roaming\npm\node_modules\geckodriver\geckodriver.exe Note: This installs a geckodriver shell script that runs the executable, but on Windows, selenium-webdriver looks for geckodriver.exe. Use it globally: npm install -g geckodriver tPreference('marionette.logging', 'TRACE') Use it by setting WebDriver capabilities: tPreference('marionette', true) Use it by requiring: require('geckodriver') There are several ways to use this module: Use the provided geckodriver from bin directory. This puts geckodriver or geckodriver.exe into root of this module. ![]() Downloader for /mozilla/geckodriver/releases ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |