Selenium/PhantomJS raises error

前端 未结 4 2127
谎友^
谎友^ 2020-12-15 10:55

I\'m trying to run PhantomJS driver in Python but I\'m getting error. I\'ve read that I should pass the whole path as an argument but it di

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 11:30

    For me none of the above solved the problem; I found the code:

    driver = webdriver.PhantomJS()
    

    Will only work for root...

提交回复
热议问题