search for: when_present

Displaying 1 result from an estimated 1 matches for "when_present".

2012 Mar 22
0
How to handle Java script pop up when you click on a button to perform some action to DB
...so takes a minute to complete its action. When I was using watir, I use to put in following code which use to work, but when switching to Rspec, it gives error so not sure what should I be replacing here: $b.confirm(true) do $b.button(:value,"Scrub the DB - Full reset / reload").when_present.fire_event''onclick'' end