[英]watir-webdriver click_no_wait
I have a script that hangs after I click a link. 单击链接后,我的脚本挂起。 This link launches a popup where the user then selects some options and the clicks the submit button to generate a report.
该链接将启动一个弹出窗口,用户可在其中选择一些选项,然后单击“提交”按钮以生成报告。 After I click on the link the script it will hang indefinitely until I kill it.
单击链接后,脚本将无限期挂起,直到我将其杀死。 I am running my tests on a mac osx using chromedriver.
我正在使用chromedriver在Mac OS X上运行测试。 I have tried firefox and safari and get same result.
我尝试过Firefox和Safari,并获得相同的结果。 there is no click_no_wait in the elements.rb.
elements.rb中没有click_no_wait。 It seems to only be for windows and ie.
它似乎仅适用于Windows和。 I have the latest install, so Is there a way to make the script execute the link and then not wait so that I can access the popup and process the form contained with in it?
我安装的是最新版本,是否有一种方法可以使脚本执行链接,然后不等待,以便我可以访问弹出窗口并处理其中包含的表单?
Here is the link I need to click on: 这是我需要单击的链接:
b.frame(:name, "ifContentBody").link(:text, "Filter").click
javascript: javascript:
openMdlWindow('InvestmentDetailOptions.aspx?IDAssetType=', '620', '600');
if (window.document.RetValue == '2') {
window.parent.LoadinIframe('InvestmentDetail.aspx?FromMenu=N&IDAssetType=', 'Investment Details > Full View', 'false');
}
I have searched a million+ posts and sites and can not find the solution. 我搜索了上百万个帖子和网站,但找不到解决方案。 Any help will be appreciated.
任何帮助将不胜感激。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.