OpenQA.Selenium.WebDriverException: ‘unknown error: ChromeDriver only supports characters in the BMP while sending an emoji through C# Selenium

This error message…

OpenQA.Selenium.WebDriverException: 'unknown error: ChromeDriver only supports characters in the BMP

…implies that the ChromeDriver was unable to send the emoji i.e. ?? signal through SendKeys() method.

Taking out a leaf from @JimEvans answer, currently ChromeDriver only supports code points in the Plane 0 i.e. the Basic Multilingual Plane (BMP) at present.

Using GeckoDriver/Firefox or IEDriverServer/IE combo would have fetched you better results.

You can find the current status of the specific tests in the Web Platform Test Suite that specifically send emojis and these work for other browsers too.

However, to send a emoji through C# you can use the following syntax:

input.SendKeys("\u1F44D");

Leave a Comment