python - Windows WebAuthn API 无法使用 Selenium 加载错误
问题描述
我正在使用 Selenium 刮刀,即使我从命令行运行它,也会不断收到以下错误。该错误是间歇性的,我无法弄清楚是什么原因造成的。
有谁知道问题可能是什么?
====== WebDriver manager ======
Current google-chrome version is 91.0.4472
Get LATEST driver version for 91.0.4472
Driver [C:\Users\Administrator\.wdm\drivers\chromedriver\win32\91.0.4472.101\chromedriver.exe] found in cache
DevTools listening on ws://127.0.0.1:56822/devtools/browser/fe997c85-6678-4c62-8976-94de066df479
[4516:10632:0713/171711.583:ERROR:device_event_log_impl.cc(214)] [17:17:11.584] FIDO: webauthn_api.cc:53 Windows WebAuthn API failed to load
[4516:10632:0713/171711.597:ERROR:device_event_log_impl.cc(214)] [17:17:11.596] Bluetooth: bluetooth_adapter_winrt.cc:712 GetBluetoothAdapterStaticsActivationFactory failed: Class not registered (0x80040154)
Gol
['Libt ', ' 13 Jul 2021, 16:00']
Gol
['Libt ', ' 13 Jul 2021, 16:00']
Gol
['Libt ', ' 13 Jul 2021, 16:00']
Gol
['Libt ', ' 13 Jul 2021, 16:00']
Traceback (most recent call last):
File "C:\scrape.py", line 194, in <module>
scrape()
File "C:\scrape.py", line 186, in scrape
writer.writerow({'ScrapeDate': date, 'ScrapeTime': scrapeTime, 'Sport': deEmojify(sport), 'Event': deEmojify(event), 'Selection1': deEmojify(selection1), 'Selection2': deEmojify(selection2})
UnboundLocalError: local variable 'event' referenced before assignment
[8588:6676:0713/171910.797:ERROR:gpu_init.cc(440)] Passthrough is not supported, GL is disabled
[4516:10632:0713/185339.730:ERROR:device_event_log_impl.cc(214)] [18:53:39.730] USB: usb_service_win.cc:258 Failed to get device driver name: Element not found. (0x490)
解决方案
推荐阅读
- javascript - ng-click 复选框不更新表单的 $pristine 属性
- vba - 如何使用类路径在 VBA 中调用 java 对象
- typescript - 打字稿:函数参数的默认值缺少必需的属性
- asp.net - 使用引导链接重置密码
- android - 我需要将我的 toast 与特定视图对齐,现在它与设备尺寸相关
- spring - 使用 Spring Boot 和 Vue.JS 的 Access-Control-Allow-Origin 多个值
- selenium - 使用 firefox 配置文件运行 selenium webdriver 会导致 WebDriverError:连接被拒绝
- r - 修复列长度以与“cor”函数一起使用
- bash - 有人如何注入这个简单的 bash 脚本?
- python - 创建与 Windows 上安装的版本不同的 Python 虚拟环境