Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch IE #24

Closed
sajnikanth opened this issue Sep 2, 2014 · 4 comments
Closed

Unable to launch IE #24

sajnikanth opened this issue Sep 2, 2014 · 4 comments
Labels
Milestone

Comments

@sajnikanth
Copy link
Contributor

Steps

  • On a windows machine, download IEDriver and add to path
  • Use the sample script here
  • Run using holmium - nosetests test_selenium_hq.py --with-holmium --holmium-browser=ie -v

Actual Results

  • Unable to initialize dirver; refer to screenshot
  • I can launch IE with selenium though; refer to screenshot
@alisaifee
Copy link
Owner

There's definitely a bug in holmium when launching the IE Webdriver. However, after resolving that I still get problems with selenium interacting with the browser (even when I use selenium directly).

Could you verify that the following code doesn't cause problems on your side?

from selenium import webdriver 
ie = webdriver.Ie()
ie.get("http://www.google.com")
ie.delete_all_cookies()
ie.close()
ie.quit()

@sajnikanth
Copy link
Contributor Author

I get this exception at ie.delete_all_cookies(). The browser isn't closed at ie.quit().

alisaifee added a commit that referenced this issue Sep 5, 2014
@alisaifee
Copy link
Owner

@sajnikanth the fix above gets --with-holmium --holmium-browser=ie to launch IE and let you communicate with the iedriver. However, because of the failure to issue subsequent commands on the driver such as delete_all_cookies or close there doesn't seem to be much you can actually do with it.

If you can figure out a way to get a simple workflow to work with webdriver.Ie directly by passing in specific options etc, please let me know and I'll try to integrate them into holmium.

@alisaifee alisaifee added bug and removed bug labels Sep 5, 2014
@alisaifee alisaifee added this to the 0.7.7 milestone Sep 5, 2014
@sajnikanth
Copy link
Contributor Author

Thanks @alisaifee

Following the instructions here, I turned off Protected Mode and was able to use webdriver for a little while. Then I noticed IE doesn't let me use username / password in URLs. There is a work-around given here, but I think I'm gonna let it be. Too much to invest for too little returns!

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

No branches or pull requests

2 participants