【发布时间】:2019-01-24 10:43:48
【问题描述】:
我正在使用 selenium chrome 驱动程序进行一些自动化操作。有时我会遇到不同类型的 unicode 和非 bmp 字符,这会使我的 chrome 崩溃。我只是想知道是否有办法解决这个问题?比如删除它们或做一些事情,这样我的 chrome 驱动程序就不会崩溃。
我正在使用 chrome 驱动程序 2.45.615291
selenium.common.exceptions.WebDriverException: Message: unknown error: ChromeDriver only supports characters in the BMP
【问题讨论】:
-
使用 Firefox 浏览器而不是 Chrome,看看这个link
标签: python selenium google-chrome selenium-chromedriver