Switch to using selenium.click instead of .check when checking a checkbox
This commit is contained in:
parent
0272e81847
commit
996eedb0d2
@ -7,6 +7,8 @@
|
||||
|
||||
* Bug fixes
|
||||
|
||||
* Switch to using selenium.click instead of .check when checking a checkbox
|
||||
(Noah Davis)
|
||||
* Setup deprecated writers for the selenium_environment= and selenium_port= config
|
||||
* Ensure the previous pages params aren't passed through redirect
|
||||
* Labels should only search for fields within the current scope (Kyle Hargraves)
|
||||
|
@ -111,7 +111,7 @@ module Webrat
|
||||
def check(label_text)
|
||||
locator = "webrat=#{label_text}"
|
||||
selenium.wait_for_element locator, 5
|
||||
selenium.check locator
|
||||
selenium.click locator
|
||||
end
|
||||
|
||||
webrat_deprecate :checks, :check
|
||||
|
Loading…
Reference in New Issue
Block a user