Oh That's an amazing arrangement Titus, Thank you. I will check that out. 

On Wednesday, November 16, 2016 at 4:08:12 PM UTC+5:30, Titus Fortner wrote:
>
> `#when_present` is now automatic by default when you take an action like 
> `#set`
>
> You can just do:
> `b.text_field(id: 'something').set 'foo'`
>
> But you can do things like this now as well:
> `element1.wait_until(&:enabled?).set 'bar'`
>
>
> Titus
>
> On Wednesday, November 16, 2016 at 9:53:08 AM UTC, Raja gopalan wrote:
>>
>> Hi I am not clear what you are saying. I will delete when_present but 
>> instead of that, I need to use wait_until,right? 
>>
>> Something like
>>
>> b.text_field(:id,'something').when_present.set 'Rajagopalan'
>>
>> now
>>
>> b.text_field(:id,'something').wait_until.set 'Rajagopalan'
>>
>> On Tuesday, November 15, 2016 at 11:06:41 PM UTC+5:30, Titus Fortner 
>> wrote:
>>>
>>> #wait_until now returns self, but you should be able to just delete 
>>> #when_present rather than replacing it. Let me know if you find a problem 
>>> with it.  
>>
>>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to