I have a test that needs to be executed on IE, CEFmp, and Chrome. The requirements are as follows:
- There should be a single conf.js file for IE, Cefmp, and Chrome.
- The test should dynamically read the browser type from a file and run the test accordingly.
- For Chrome and CEFmp runs, direct connect should be set to true.
- For Chrome and CEFmp runs, the test should only use specific drivers located in the local path instead of the default Protractor path.
I have successfully implemented picking the browser type based on the value mentioned in the file and running the test with direct connect enabled for Chrome and CEFmp. However, I am struggling to find a solution for specifying a particular Chrome driver. Currently, it is using the default driver from node_modules/protractor/selenium. Is there a way to dynamically select a driver from a specific path?
Thank you in advance.