訪問複選框,當我試圖點擊複選框,我得到一個錯誤 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
它的工作原理完全如