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

前端 未结 18 1966
醉梦人生
醉梦人生 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:38

    I got the same error when issuing a URL without the protocol (like localhost:4200) instead of a correct one also specifying the protocol (e.g. http://localhost:4200).

    Google Chrome works fine without the protocol (it takes http as the default), but Firefox crashes with this error.

提交回复
热议问题