Selenium WebDriver.get(url) does not open the URL

前端 未结 18 1969
醉梦人生
醉梦人生 2020-11-29 07:36
from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.support.ui impo         


        
18条回答
  •  抹茶落季
    2020-11-29 07:41

    @Neeraj

    I've resolved this problem, but i'm not sure if you are the same reason.

    In general, my problem was caused by some permission issues.

    I tried to move my whole project into ~/:

    mv xxx/ ~/
    

    and then i change give it the 777 permission:

    chmod -R 777 xxx/
    

    I'm not familiar with linux permission so i just do this to make sure i have permission to execute the program.

    Even you don't have permission, the selenium program will not prompt you.

    So, good luck.

提交回复
热议问题