Failed to navigate to https://www.google.ca. This usually means that a call to the COM method IWebBrowser2::Navigate2() with Python Unittest Selenium
问题 from selenium import webdriver import unittest from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By from time import sleep class MyTestCase(unittest.TestCase): def setUp(self) -> None: self.driver = webdriver.Ie(executable_path="C:\\webdriver\\IEDriverServer.exe") self.driver.maximize_window() self.driver.get("https://www.google.ca") def test_googletest(self): element =