ipatov_dn
@ipatov_dn

Не могу понять что хочет от меня selenium?

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] Не удается найти указанный файл

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'

скрипт написан на python и с конвертирован pyinstaller
  • Вопрос задан
  • 1221 просмотр
Пригласить эксперта
Ответы на вопрос 2
teke_teke
@teke_teke
programador
сам драйвер загрузили? пути прописали? запустили?
Ответ написан
@Talik0507
Работаю, Живу
selenium.common.exceptions.WebDriverException: Message: 'IEDriverServer.exe' exe


Эта ошибка говорит о том, что не находится сам драйвер.
Его нужно скачать предварительно и указать полный путь в переменной окружения PATH.
Ну или при инициализации драйвера в тестах, явно указать executablePath
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы