TheBrainFamily / chimpy

Develop acceptance tests & end-to-end tests with realtime feedback.
https://thebrainfamily.github.io/chimpy
MIT License
52 stars 28 forks source link

Not able to run Chimp on windows 7 using Internet Explorer #93

Open samhatoum opened 6 years ago

samhatoum commented 6 years ago

Issue by wuthiago Monday Jul 31, 2017 at 19:57 GMT Originally opened as https://github.com/xolvio/chimp/issues/636


Expected behaviour

I expect to be able to run chimp in Windows 7 with Internet Explorer 11.0

Actual behaviour

I am getting an error message saying the best matching driver provider org.openqa,selenium.edge.EdgeDriver can't create a new driver instance for Capabilites...

Exact steps to reproduce / repository that demonstrates the problem

Please put long code snips in a Gist and provide a link here.

  1. Download IEDriver from seleniumHQ website.
  2. Unzip it and add the location of the .exe file to the PATH sys variable.
  3. Create an exact copy of the default config file and add the following Desired Capabilities under WEBDRIVER-IO section: // - - - - WEBDRIVER-IO - - - - webdriverio: { desiredCapabilities: { browserName: "internet explorer", version: "11.0" }, logLevel: 'silent', // logOutput: null, host: '127.0.0.1', port: 4444, path: '/wd/hub', baseUrl: null, coloredLogs: true, screenshotPath: null, waitforTimeout: 500, waitforInterval: 250 },
  4. Run chimp with the following command: node ./node_modules/chimp/bin/chimp.js node_modules/chimp/dist/bin/chimp-ie.js --browser=ie --saveScreenshotsToDisk=false --saveScreenshotsToReport=true --screenshotsOnError=true -f pretty -f json:e2e.json
Version & tools:
Console / Log Output

http://imgur.com/a/PVeFt


Join our Slack xolv.io/community #chimp channel, where you can find help and help others.

samhatoum commented 6 years ago

Comment by vuongngolg Tuesday Sep 19, 2017 at 07:02 GMT


I guess you should run with --browser=internet explorer instead of --browser=ie

samhatoum commented 6 years ago

Comment by wuthiago Tuesday Sep 19, 2017 at 21:15 GMT


I tried that and a couple of other combinations. It didn't work.