splinter fill功能很慢,用IE Webdriver

Splinter fill function is very slow, with IE Webdriver

所以,我按照本教程将 Splinter 框架与 Internet Explorer (https://stirunagari.wordpress.com/2017/08/20/using-internet-explorer-web-driver-with-splinter-framework/) 一起使用,并且它正在运行......很好。

from splinter import Browser
browser = Browser('iexplorer')
browser.visit('http://google.com')
browser.fill('q', 'Text to fill in the search bar')

正在填充搜索字段,但速度非常慢,例如 1-2 秒内击键 1 次。使用 Chrome 或 Firefox 作为浏览器时,browser.fill 运行良好。 我知道这个问题很可能是因为 Splinter 不直接支持 IE,但也许有人知道解决方法或其他方法?

编辑: 不知道之前用的是什么IEDriver,换成IEDriverServer_Win32来自Here,现在一切正常。我无法回答我的问题,因为有人删除了我的答案...

我没有使用最新的 Internet Explorer WebDriver;从这里更新它,现在工作正常: http://selenium-release.storage.googleapis.com/index.html?path=3.8/

听起来您使用的是 32 位版本的 IE 驱动程序。您应该使用 64 位版本的 IE 驱动程序,不知道为什么,但速度要快得多。