selenium USB:usb_service_win.cc:415无法读取设备接口GUID:系统找不到指定的文件,(0x2)

bz4sfanl  于 8个月前  发布在  其他
关注(0)|答案(1)|浏览(344)

我的验证码:

from selenium import webdriver  
import time
    
web = webdriver.Chrome()
web.get('https://fs30.formsite.com/LB2014/wa03ei3cqi/index.html')
    
time.sleep(2)
    
FirstName = "Test"     
first = web.find_element('xpath', "//*[@id='RESULT_TextField-4']")
first.send_keys(FirstName)

Powershell错误:

错误:device_event_log_impl.cc(215)] [14:44:23.883] USB:usb_service_win.cc:415无法读取设备接口GUID:系统找不到指定的文件。(0x2)
selenium新手,使用python实现自动化。我试着查找我的错误,但找不到任何人有同样的问题。有人知道我需要做什么或者有什么建议吗?

fumotvh3

fumotvh31#

你不必担心,这只是浏览器的警告。如果你想阻止它出现,你可以添加这个选项:

options.add_experimental_option('excludeSwitches', ['enable-logging'])

相关问题