A
A
Alikhan2022-03-15 12:08:24
Python
Alikhan, 2022-03-15 12:08:24

Selenium error "selenium.common.exceptions.WebDriverException: Message: unknown error: ChromeDriver only supports characters in the BMP"?

I made a selenium program using chromedriver.
But then, out of nowhere, this error appeared:

DevTools listening on ws://127.0.0.1:50367/devtools/browser/890e4ce4-ec0c-4028-8263-938fca482661
[0315/114402.260:ERROR:latency_info.cc(93)] CompositorFrameSinkSupport::MaybeSubmitCompositorFrame, LatencyInfo vector size 5503 is too big.
Traceback (most recent call last):
  File "main.py", line 86, in <module>
  File "selenium\webdriver\remote\webelement.py", line 540, in send_keys
  File "selenium\webdriver\remote\webelement.py", line 710, in _execute
  File "selenium\webdriver\remote\webdriver.py", line 425, in execute
  File "selenium\webdriver\remote\errorhandler.py", line 247, in check_response
selenium.common.exceptions.WebDriverException: Message: unknown error: ChromeDriver only supports characters in the BMP
  (Session info: headless chrome=99.0.4844.51)
Stacktrace:
Backtrace:
        Ordinal0 [0x011A9943+2595139]
        Ordinal0 [0x0113C9F1+2148849]
        Ordinal0 [0x01034528+1066280]
        Ordinal0 [0x01086D43+1404227]
        Ordinal0 [0x0105C495+1229973]
        Ordinal0 [0x0105B821+1226785]
        Ordinal0 [0x0107B9EC+1358316]
        Ordinal0 [0x01057474+1209460]
        Ordinal0 [0x0107BC04+1358852]
        Ordinal0 [0x0108BAF2+1424114]
        Ordinal0 [0x0107B806+1357830]
        Ordinal0 [0x01056086+1204358]
        Ordinal0 [0x01056F96+1208214]
        GetHandleVerifier [0x0134B232+1658114]
        GetHandleVerifier [0x0140312C+2411516]
        GetHandleVerifier [0x0123F261+560433]
        GetHandleVerifier [0x0123E366+556598]
        Ordinal0 [0x0114286B+2173035]
        Ordinal0 [0x011475F8+2192888]
        Ordinal0 [0x011476E5+2193125]
        Ordinal0 [0x011511FC+2232828]
        BaseThreadInitThunk [0x75A5FA29+25]
        RtlGetAppContainerNamedObjectPath [0x77687A9E+286]
        RtlGetAppContainerNamedObjectPath [0x77687A6E+238]

[3432] Failed to execute script 'main' due to unhandled exception!


How can this be fixed? (chrome browser version and chromedriver are the same)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alan Gibizov, 2022-03-15
@phaggi

Look here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question