Enhancement Request: Keyword to control the speed when scrolling an element into view
还没有人认领这个 Issue。
评估
调研方向
从现有的 "Scroll to Element" 关键字和 issue 对 scrollIntoView 的引用开始,包括其 smooth 行为。定义关键字将如何提供滚动速度或等效行为,然后验证 button 的进度条交互可以完成,再将工作视为完成。
由索引模型根据 Issue 内容生成。
描述
Creating this ticket at Ed's request. Bringing over the Slack communication.
Is there a way in Selenium Library to control the speed used to scroll an element into view?
More info: We have an iFrame that has a button that doesn't enable until a user scrolls to the bottom of the content. The button "fills" a progress bar as the user scrolls. When using Scroll to Element we drop to the bottom too quickly for the button to enable.
Follow up: we ended up using a Javascript call to use scrollIntoView with smooth behavior to get this to work as needed. Still curious if there's a Keyword approach that would do the same or similar, but no pressing need now.
- 主要语言
- Python
- 星标
- 1.5k
- 派生
- 787
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
robotframework/SeleniumLibrary 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
robotframework/SeleniumLibrary#1941 · 3 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 65/100
robotframework/SeleniumLibrary#1833 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
robotframework/SeleniumLibrary#1436 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 58/100
robotframework/SeleniumLibrary#1993 ·
-
难度 4/5 3-5 天 新手友好度 35/100
robotframework/SeleniumLibrary#1992 · 4 条评论 ·
查看 robotframework/SeleniumLibrary 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·