In Robot Selenium Library to find any web element it generates post call with elements why not element to find single web element.
还没有人认领这个 Issue。
评估
调研方向
首先,使用 XPath //*[@id='username'] 重现 Click Element 操作,并检查 issue 中显示的调试请求。将生成的 elements 请求与预期的 element 请求进行比较,并确定该行为是否由定位器策略控制。单元素操作支持所请求的 Healenium 集成,且不会破坏现有的定位器行为,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Hi,
I am using Selenium 4.8.3 and Ride for automation scripting. My script include simple action Click Element with xpath as //*[@id='username']. In debug logs observed that it always generates post call DEBUG : http://localhost:55411/ "POST /session/53572f229897674fc9faae17fafdc243/elements
Tried using locator strategies like id:username / default:username but every time it generates similar post call with elements. Why SeleniumLibraray not generating post call with element rather that elements like : http://localhost:55411/ "POST /session/53572f229897674fc9faae17fafdc243/element
We are trying to use Healenium (Test Automation Framework which will Heal the Broken locator at runtime and continue test execution.). This enables healing if Selenium call is element, if call is elements Automatic Healing is not enabled.
- 主要语言
- 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
-
agent-ready documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
-
documentation
难度 1/5 1 小时以内 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
instance instance add
难度 1/5 1 小时以内 新手友好度 72/100
searxng/searx-instances#939 · 1 条评论 ·
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100