Python-No such file or directory getAttribute.js

后端 未结 3 402
甜味超标
甜味超标 2021-01-07 14:12

I had a Python selenium program working a week or so ago. Now selenium fails on the import:

from selenium import webdriver

The IDLE ouput:<

3条回答
  •  梦谈多话
    2021-01-07 14:43

    you have to reinstall the selenium- Windows version from here https://pypi.org/project/selenium/#files

    Seems that the installation was broken. If you want to install from the repo, you need to follow the steps here first in order to build the .js files you need: https://github.com/SeleniumHQ/selenium/wiki/Python-Bindings#development

提交回复
热议问题