Open psibean opened 7 years ago
desktop_utils.exe
does not need to be present in PATH. It is a separate utility which is more general in regards to virtual desktops.
What Windows version does this happen on?
Apologies for the late reply!
This happens on Windows 7 - the IE Driver does show up in processes, so it is launching, just not completely initializing. When using ctrl+c to cancel the script execution, it seems to error out within the requests library.
Just curious, does this driver work with C# Selenium? When passing a path to the driver in C#, it only takes a folder and automatically looks for the IEDriverServer.exe - if I rename the headless driver here and put it in a different directory (so long as everything is in path) would this work? Or is there another way to get this to work with C# selenium?
Hey,
I am using Selenium and Python 3.5.2. When I use the visible IE Web Driver:
print("Loading IE...") browser = webdriver.Ie() print("IE Loaded") browser.get("http://www.google.com")
The browser loads and runs fine.
As soon as I switch to:
browser = webdriver.Ie("C:\Program Files\Python\Scripts\headless_ie_selenium.exe")
this line of code runs, then hangs. The second print statement is never reached. "C:\Program Files\Python\Scripts\headless_ie_selenium.exe" is in the PATH, along with IEDriverServer.exe - which is also in the same folder as the headless_ie_selenium.exe file.
desktop_utils.exe was also copied to the same location, does this need to be added to PATH as well? Why would it hang without error message?
Update: It does seem to start the IEServerDriver as a process and when hitting ctrl+c to force close the scripts execution, it has errors with the request.py.