今天使用 Python 的 selenium 时,一直在报如下错误:
156424:153348:1212/170007.899:ERROR:ssl_client_socket_impl.cc(978)\] handshake failed; returned -1, SSL error code 1, net_error -101 # 忽略证书错误 options.add_argument('--ignore-certificate-errors') # 忽略 Bluetooth: bluetooth_adapter_winrt.cc:1075 Getting Default Adapter failed. 错误 options.add_experimental_option('excludeSwitches', ['enable-automation']) # 忽略 DevTools listening on ws://127.0.0.1... 提示 options.add_experimental_option('excludeSwitches', ['enable-logging'])