I am using selenium,cucumber and java for automation testing.
I have a requirement of installing a plugin to the chrome browser to open my application. This plugin I have already installed. But when I open the chrome browser through selenium this plugin is missing and application is not working.
How to install the plugin each time when the browser is opening?
I'm using Chrome 65.0 and Selenium 3.11.0
Steps :
Code :
That's it! You can use this code and chrome would be instantiated with the given extension
Please let me know if you have any concerns related to this.