selenium - Unable to click "Create an account" button on Firefox browser by robot framework
问题描述
Unable to click "Create an account" button on firefox browser (version:59.03 & 60, geckodriver-v0.20.0 & v0.20.1 for win64) by robot framework on RIDE from link:
Code Like on RIDE
Open Browser http://automationpractice.com firefox
Click Link class=login
Wait Until Element Is Visible xpath://input[@name='back']/following-sibling::button[@name='SubmitCreate'] None None
Click Button xpath://input[@name='back']/followingsibling::button[@name='SubmitCreate']
XPath(//button[@type='submit' and @name='SubmitCreate']) is working and test cases is Pass. But the browser is not able to click on Create an account button. More details may be seen from the link. I already passed 3 days did not get a solution. Could yoy please take a look.
解决方案
某些浏览器版本无法单击某些按钮操作。3天后,我得到了解决方案。它适用于 Mozilla Firefox 版本 52 和 Gecko 驱动程序版本 0.18.0。谢谢大家。
推荐阅读
- quill - How to get the last index of quill editor?
- java - 为什么 JTextfield 和 JButton 只在启动程序 3 次后才出现?
- c - 我怎样才能以这种方式拆分这个链表
- python - 与 Sqoop 不一致的结果
- java - 如何用随机整数填充矩阵而不重复它们?
- node.js - expo 中的错误错误:缺少 node_modules 目录。请运行`npm install
- javascript - 如何使用 ag-grid 中的复选框更改布尔数据?
- c# - 想知道为什么我的代码需要等待计时器,因为没有它,一切都应该连续运行,重大的荒谬变化
- java - 是否有我可以参考的可能的 IllegalAnnotationExceptions 列表?
- facebook - Facebook 分享计数不起作用 - 新 API?