Error: Element <...> could not be scrolled into view
还没有人认领这个 Issue。
评估
调研方向
首先使用 Firefox 99.0 和 geckodriver 0.30.0 重现该失败,并比较直接点击与报告中的 scrollTo 和 wait 变通方案。该 issue 未指明文件或测试,因此请跟踪受影响的 WebDriver 交互入口点,并在修改代码之前确认该行为是否可重现且值得处理。
由索引模型根据 Issue 内容生成。
描述
I'm "suddenly" getting this in many tests in Firefox (haven't tried with Chrome yet):
[Facebook\WebDriver\Exception\ElementNotInteractableException] Element <...> could not be scrolled into view
Is anybody else observing this?
My current workaround: What used to be just $I->click(...); is now:
$I->scrollTo('someNearbyElement');
$I->wait(0.5); // Some arbitrary number. I tried with `$I->waitForElementClickable()` but it isn't working :-(
$I->click(...);
geckodriver 0.30.0 with Firefox 99.0
- 主要语言
- PHP
- 星标
- 39
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeception/module-webdriver 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
Codeception/module-webdriver#151 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
Codeception/module-webdriver#135 ·
-
难度 2/5 1-3 小时 新手友好度 38/100
Codeception/module-webdriver#130 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Codeception/module-webdriver#128 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
Codeception/module-webdriver#126 ·
查看 Codeception/module-webdriver 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
-
a11y admissions.uiowa.edu needs grooming SiteImprove best practice
难度 2/5 1-3 小时 新手友好度 70/100
-
Save States Menu 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/100
pluginsGLPI/datainjection#673 ·