如何处理“org.openqa.selenium.WebDriverException:ChromeDriver只支持BMP中的字符”exception?

每当我尝试使用selenium填充某些非BMP字符(如’🏀’)作为文本区域的输入时,我的chrome驱动程序因以下exception而失败:

org.openqa.selenium.WebDriverException:未知错误:ChromeDriver仅支持BMP中的字符

以下主题说它已经在谷歌浏览器中修复,但我不这么认为: https : //code.google.com/p/chromedriver/issues/detail?id = 187

我正在使用chrome驱动程序(版本2.15.322448)和chrome浏览器(版本43.0.2357.65)

任何建议,将不胜感激。

https://code.google.com/p/chromedriver/issues/detail?id=187链接提到firefox浏览器也支持非BMP字符。

我尝试使用firefox驱动程序和Firefox浏览器(版本31),它的工作原理。 现在这是解决方法,而不是使用chrome驱动程序来使用firefox驱动程序。