How to handle "org.openqa.selenium.WebDriverException: ChromeDriver exception only supports characters in BMP"?

Whenever I try to populate some character without BMP, for example 'πŸ€', as input to the text area using selenium, my chrome driver will fail due to the following exception:

org.openqa.selenium.WebDriverException: unknown error: ChromeDriver only supports characters in BMP

The thread below says it is fixed in google chrome, but I don’t think so: https://code.google.com/p/chromedriver/issues/detail?id=187

I am using the chrome driver (version 2.15.322448) and the Chrome browser (version 43.0.2357.65)

Any suggestions would be appreciated.

+4
source share
1 answer

The link https://code.google.com/p/chromedriver/issues/detail?id=187 mentions that the Firefox browser has support for characters other than BMP.

I tried using the Firefox driver and Firefox browser (version 31) and it worked. Now this is a workaround, instead of using the chrome driver to use the firefox driver.

0
source

All Articles