5

It looks like you simply need to encode the file to a base64 string: chromeOptions : { extensions: [encode('./extension_1_5.crx')] } function encode(file) { var stream = require('fs').readFileSync(file); return new Buffer(stream).toString('base64'); }


5

Before jumping into Automation it is best to decide what kind of Automation is best fit for the Product and the Team. A process I have used to access and determine automation is: Pull together a team of core engineers, the quality lead/manager, and the development lead/Manager to outline the Automation Strategy. Ensure that Automation is NOT assumed to ...


2

From Selenium Documentation: You may, or may not, need the Selenium Server, depending on how you intend to use Selenium-WebDriver. If your browser and tests will all run on the same machine, and your tests only use the WebDriver API, then you do not need to run the Selenium-Server; WebDriver will run the browser directly. There are some ...


1

It might be an issue with the version of IEDriver. Try to downgrade to stable version and try again. Try the following commands: selenium-standalone install --version=2.47.0 --drivers.ie.version=2.53.1 selenium-standalone start --version=2.47.0 --drivers.ie.version=2.53.1 or the same but for webdriver-manager


1

On the Mac the .windowsMaximize() is interpreted as a plus button click. This represents a Size to best fit command. It is not like a Maximize on a Windows OS. It will only maximize vertically. A workaround is to start Chrome with the start-fullscreen command: ChromeOptions options = new ChromeOptions(); options.addArguments("start-fullscreen");


Only top voted, non community-wiki answers of a minimum length are eligible