D
D
Dmitry2017-02-08 15:39:57
Python
Dmitry, 2017-02-08 15:39:57

I can't figure out what selenium wants from me?

Traceback (most recent call last):
File "site-packages\selenium\webdriver\common\service.py", line 74, in start
File "subprocess.py", line 676, in __init__
File "subprocess.py", line 955, in _execute_child
FileNotFoundError: [WinError 2] Cannot find the specified file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "directumIE.py", line 6, in
File "site-packages" \selenium\webdriver\ie\webdriver.py", line 49, in __init__
File "site-packages\selenium\webdriver\common\service.py", line 81, in start
selenium.common.exceptions.WebDriverException: Message: ' IEDriverServer.exe'exe
cutable needs to be in PATH. Please download from selenium-release.storag
e.googleapis.com/index.html and read up at https://github.com/SeleniumHQ/seleniu
m/wiki/InternetExplorerDriver
Failed to execute script directumIE
Exception ignored in: >
Traceback (most recent call last):
File "site-packages\selenium\webdriver\common\service.py", line 173, in __del_
_
File "site-packages\selenium\webdriver\common\service.py", line 145, in stop
AttributeError: 'Service' object has no attribute 'process'
script written in python and converted by pyinstaller

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex maslakoff, 2017-02-08
@teke_teke

did you download the driver? did you write the path? launched?

T
Talik, 2017-02-09
@Talik0507

selenium.common.exceptions.WebDriverException: Message: 'IEDriverServer.exe' exe

This error indicates that the driver itself is not located.
You need to download it first and specify the full path in the PATH environment variable.
Well, or when initializing the driver in tests, explicitly specify executablePath

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question