有些词可以百度成功,但有些会失败报错,如下
百度 可莉
截图中....
DevTools listening on ws://127.0.0.1:60682/devtools/browser/f54d7aa7-baeb-4c41-9911-8fae8f3036a9
[0305/004809.420:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[0305/004810.226:INFO:CONSOLE(14)] "[Report Only] Refused to load the image 'http://baikebcs.bdimg.com/cms/static/baike-icon.svg' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://baike.baidu.com/item/ 可莉 (14)
[0305/004810.440:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
[0305/004810.479:INFO:CONSOLE(79)] "[Report Only] Refused to connect to 'wss://cstm.baidu.com/log/index' because it violates the following Content Security Policy directive: "default-src https: 'unsafe-inline' 'unsafe-eval' data: blob:". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
", source: https://bkssl.bdimg.com/static/wiki-common/pkg/wiki-common-base_bb9a6c9.js (79)
[0305/004810.591:ERROR:sdp_offer_answer.cc(2129)] Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
错误类型是 NoSuchElementException
错误明细是 Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[2]/div"}
(Session info: headless chrome=99.0.4844.51)
Stacktrace:
Backtrace:
Ordinal0 [0x00D49943+2595139]
Ordinal0 [0x00CDC9F1+2148849]
Ordinal0 [0x00BD4528+1066280]
Ordinal0 [0x00C00FD4+1249236]
Ordinal0 [0x00C011CB+1249739]
Ordinal0 [0x00C2D812+1431570]
Ordinal0 [0x00C1BA34+1358388]
Ordinal0 [0x00C2BAF2+1424114]
Ordinal0 [0x00C1B806+1357830]
Ordinal0 [0x00BF6086+1204358]
Ordinal0 [0x00BF6F96+1208214]
GetHandleVerifier [0x00EEB232+1658114]
GetHandleVerifier [0x00FA312C+2411516]
GetHandleVerifier [0x00DDF261+560433]
GetHandleVerifier [0x00DDE366+556598]
Ordinal0 [0x00CE286B+2173035]
Ordinal0 [0x00CE75F8+2192888]
Ordinal0 [0x00CE76E5+2193125]
Ordinal0 [0x00CF11FC+2232828]
BaseThreadInitThunk [0x753C6739+25]
RtlGetFullPathName_UEx [0x77408E7F+1215]
RtlGetFullPathName_UEx [0x77408E4D+1165]