为什么我运行一直在报[1884:11880:0714/004031.779:ERROR:device_event_log_impl.cc(214)] [00:40:31.780] USB: usb_device_handle_win.cc:1058 Failed to read descriptor from node connection: 连到系统上的设备
没有发挥作用。 (0x1F),我只运行了一次,就一直报这个错,然后浏览器一直重启,到第三次才运行成功
#coding=utf-8
from selenium import webdriver
import time
from selenium.webdriver.support import expected_conditions as EC
from tet.open_browser import seleniumDriver
driver = webdriver.Chrome()
driver.get(“http://www.imooc.com”)
print(EC.title_is(“慕课网”))
print(EC.title_contains(“慕课网”))
selenium_driver = seleniumDriver(‘chrome’)
print(selenium_driver.open_url_is_true(‘http://www.imooc.com’))
代码正确的啊