excel - Selenium 和 VBA 的错误 7 内存不足
问题描述
我已经从 Git 安装了 SeleniumWrapper,每当我尝试启动最简单的代码时,我都会不断收到此错误 7。我还安装了最新的 chromedriver 并放入了 selenium 文件。无论我使用 chrome 还是任何其他网络浏览器,都会出现问题。
这是代码:
Dim bot As New WebDriver
bot.Start "chrome"
bot.Window.Maximize
bot.Get "website"
Application.Wait Now + TimeValue("00:00:02")
bot.FindElementByCss("#USERNAME").SendKeys ("ok")
End Sub
解决方案
推荐阅读
- laravel-5.6 - Laravel 5.7.2 中的路由问题
- c++ - 指向成员的指针对托管类无效
- python - Python:os.path.isfile 没有检测到文件
- spring - Spring Kafka 和事务
- php - Laravel 多认证导航栏
- json - 获取名称中带有“点”的 json 对象属性
- node-red - Node Red 如何设置属性 msg.complete
- python - 为什么一个 CNN 的 loss 长期减少,然后突然增加?
- javascript - 跳过视频时间滑块 Selenium
- html - 需要将 DIV-2 粘贴在 DIV-1 的底部,然后在悬停时将其隐藏在 DIV-1 下