访问复选框,当我试图点击复选框,我得到一个错误 browser.checkbox(:id, 'AgreeToProceedWithPersonalData').click
Element is not clickable at point (314.5, 448). Other element would receive the click: <label for="AgreeToProcee
我正在使用watir-webdriver和rspec编写声明。我遇到了一些运行新窗口元素断言的问题。 这是我的方法,我用: def open_window
foobar = @browser.window(:title, 'Foo View')
return foobar
end
这是我正在写我的规格: describe 'testing a new window' do
我的系统中的文件: 的Windows 10专业版64位 红宝石2.1.9p490(2016年3月30日修订54437)[64-的mingw32] 火狐47.0.1 首先,这里是我处理的代码: <div class="dz-style col-sm-7" is="null">
<div is="null">You can drag and drop your supporting docu
我在Linux中构建了一个简单的脚本,但现在我试图让它在Windows上工作。 的代码是: require 'watir-webdriver'
puts "Press enter when ready to continue"
gets
browser = Watir::Browser.start "http://www.google.com"
# do stuff
它的工作原理完全如