Re: [wtr-general] Placing the value inside the text field loads the entire page, So Is there any function which will wait for the page load?

2017-02-17 Thread Titus Fortner
Also, to clarify. In Watir `#set` is combination of `#clear` and `#send_keys` for text editable elements. Everything that works for Selenium's `#send_keys` will work for Watir's `#set`, so just make sure you are using the method you need. On Friday, February 17, 2017 at 11:50:34 AM UTC-6, Sup

Re: [wtr-general] Placing the value inside the text field loads the entire page, So Is there any function which will wait for the page load?

2017-02-17 Thread Super Kevy
Sounds resolved So it looks like you need to send a tab as the control probably has an onblur JS event tied to it. So with send_keys you can include special keys like :Home :Shift :End to select and :tab to move to the next focus I believe you can even add delays in the send_keys stream. brows

Re: [wtr-general] Placing the value inside the text field loads the entire page, So Is there any function which will wait for the page load?

2017-02-17 Thread Raja gopalan
Hi Titus, Sorry for late reply! Your code which has been given in Stackoverflow is a good catch but you are missing the crucial point that watir text_field.set() method doesn't includes the tab So refresh doesn't start until it moves on to the next field. But what happens actually is, I am wr