selenium webdriver importing Options giving me an ImportError

后端 未结 3 521
野趣味
野趣味 2021-01-21 03:33

Link to the original code I\'m trying to implement into my code.

Running Selenium WebDriver using Python with extensions (.crx files)

from selenium impor         


        
3条回答
  •  北荒
    北荒 (楼主)
    2021-01-21 04:15

    Most probably you may have installed different version selenium 2.X do not have the options module. Your code works fine with selenium 3.x

    Try installing pip install selenium in virtual environment and run you code

提交回复
热议问题