<<It uses `Watir.default_timeout` to determine the time of the wait.
If you want to increase it for a specific element interaction:>>

Thank you. 

>>`b.button.wait_until(timeout: 45, &:present?).click`<<

This I know of! 

By the way I want to ask another question, I was automating way2sms site, 
It goes till the page where you set your mobile number and message, But 
exactly in that textfield and date field, it's not entering any details. 

Here is the HTML code , can you please tell me where I go wrong?

<div class="Sms fl">
<label>Mobile Number</label>
<div class="m91">
<span>+91</span>
<input id="mobile" name="mobile" placeholder="Mobile Number" maxlength="10" 
value="" onkeyup="javascript:dispLocMob(this);" onkeydown="javascript:
dispLocMob(this);" onchange="javascript:dispLocMob(this);" type="text">
</div>
<p id="locMob" onclick="javascript:locateMob();" style="cursor: pointer;
display: none;"></p>
<label>Message</label>
<textarea id="message" placeholder="Type your message here or use SMS 
greetings" name="message" cols="45" rows="5" onkeydown="javascript:
countChars('message', 'msgLen', 140, 'sndsms')" onkeyup="javascript:
countChars('message', 'msgLen', 140)"></textarea>


>

On Friday, February 3, 2017 at 11:01:17 PM UTC+5:30, Titus Fortner wrote:
>
> It uses `Watir.default_timeout` to determine the time of the wait.
> If you want to increase it for a specific element interaction:
>
> `b.button.wait_until(timeout: 45, &:present?).click`
>
> On Fri, Feb 3, 2017 at 11:22 AM, Raja gopalan <rajagopa...@gmail.com 
> <javascript:>> wrote:
>
>> This code 
>>
>> b.button(:value,'Next').click
>>>
>> has the implicit waiting time
>>
>> Is there any way I can increase the waiting time? where do I have to set 
>> it? 
>>
>> -- 
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> watir-...@googlegroups.com <javascript:>
>> http://groups.google.com/group/watir-general
>> watir-genera...@googlegroups.com <javascript:>
>>
>> --- 
>> 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 watir-genera...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
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 watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to