I'm using 32-bit IE11 on Win8.1. I have some Selenium scripts (Python bindings) which I execute on IE11 among others.
With IEDriverServer, I've done all the steps suggested on the InternetExplorerDriver-wiki page and in general the IEDriver works fine.
However, if I try to get a local HTML page, such as:
from selenium import webdriver
ie = webdriver.Ie()
url = "file:///D:/dev/proof_of_concept/html/liki.html"
ie.get(url)
print(ie.current_url)
I get this exception in return:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 426, in current_url
return self.execute(Command.GET_CURRENT_URL)['value']
File "C:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "C:\Python34\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchWindowException: Message: 'Unable to get browser'
There are many threads about the general IE11 issue (with the registry solution) but I weren't able to find any solution for this particular issue with local pages.
Is there some kind of limitation, or something related to the security zones, that I'm not aware of?
Thanks!