* WARNING: does not work with recent version of selenium-webdriver node bindings, which expect an instance of selenium-webdriver Firefox Profile page (`require('selenium-webdriver/firefox').Profile` or similar) attach the capabilitites to your webdriver.create firefox capabilities and set the 'firefox_profile' capability.addExtension(path/To/Extenstion.xpi) or addExtension(path/To/Unpacked/Extension/).or use 'selenium-webdriver/remote' class. Make sure you have selenium server running. ![]() It also contains a command line interface that allows to copy or create profiles. use an existing user profile (by specifying a name).use an existing profile (by specifying a path).This package is also useful if you use another webdriver library like wd.js or any other webdriver json wire protocol implementation ( webdriver.io?). moz:firefoxOptions.profile instead of on. ![]() The important part in the example is to set the encoded profile on. But you can still use this package with selenium-webdriver: here is an example. Checkįor an example on how to set your own profile with selenium-webdriver. ![]() If you are using selenium-webdriver package, you no longer need to use this package: selenium-webdriver package now implements a class that allows to create firefox profiles. Notes for Selenium-webdriver package users Create or update Firefox Profile programmatically.
0 Comments
Leave a Reply. |