Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

IE support #26

Closed
nkzawa opened this issue Jan 17, 2014 · 4 comments
Closed

IE support #26

nkzawa opened this issue Jan 17, 2014 · 4 comments

Comments

@nkzawa
Copy link

nkzawa commented Jan 17, 2014

Any plans for supporting IE?

@EndangeredMassa
Copy link
Collaborator

If your machine has IE installed, you should be able to set browser: 'internet explorer' in the testium options.

If not, you should be able to set up selenium on a remote server (or local virtual machine) and start it up connected to IE. Then, in your testium options, you can specify seleniumServer: 'http://localhost:9999/wd/hub'.

Please reopen this issue if that doesn't work for you OR if you had something else in mind.

@nkzawa
Copy link
Author

nkzawa commented Jan 18, 2014

Ah, I see, but it looks IE is not supported because of validateBrowser:

https://github.com/groupon/testium/blob/master/src/test_runner/index.coffee#L50

validateBrowser = (browser) ->
  return browser if browser in ['phantomjs', 'firefox', 'chrome']
  return 'phantomjs' if !browser?

  throw new Error "Browser not supported by Testium: #{browser}"

I have tried with setting of browser: 'internet explorer' (IE is not installed in my PC actually), but it throws an error:

Error: Browser not supported by Testium: internet explorer

Am I missing something?

@EndangeredMassa
Copy link
Collaborator

You are right! Here's a PR to remove that restriction. #27

You won't be able to use browser: 'internet explorer' if you don't have IE installed on your machine.

@EndangeredMassa
Copy link
Collaborator

Fixed in 1.3.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants