Unable to load Atom ''find_element"

前端 未结 3 420
陌清茗
陌清茗 2021-02-01 02:18

I have recently installed PhantomJS and encountered this error on my first run:

from selenium import webdriver
from selenium.webdriver.common.keys import Keys

d         


        
3条回答
  •  没有蜡笔的小新
    2021-02-01 02:39

    The reason is that I used apt-get install Phantomjs to install it, but it seems that it is a not full-functional Phantomjs version installed by apt-get. So, download manually from the Phantomjs website and add the containing direction to the PATH environment variable.

提交回复
热议问题