Skip to main content

Timeline for answer to How can I ask Selenium WebDriver to wait for some time? by Hari Reddy

Current License: CC BY-SA 3.0

Post Revisions

8 events
when toggle format what by license comment
Aug 13, 2012 at 9:43 comment added Gnik Hari, Ok Thanks for your response
Aug 13, 2012 at 9:38 comment added Hari Reddy Sorry Gnik, I'm not aware of any way to do that.
Aug 13, 2012 at 9:19 comment added Gnik Everything is fine now. Is there anyother way to ask WebDriver to wait without specifying the time?
Aug 13, 2012 at 8:16 vote accept Gnik
Aug 13, 2012 at 8:07 comment added Hari Reddy An AJAX call should not take that long. Here the 10 means 10 seconds and not 10 milliseconds. If the result is not getting populated even after 10 seconds, then there must be some other problem. Normally AJAX calls must not take something like 10 seconds to get your result.
Aug 13, 2012 at 8:00 comment added Gnik Hari, My question is how to ask webDriver to wait without specifying the time. See here new WebDriverWait(driver,10) we specified 10ms to wait. If it exceeds 10ms.
Aug 13, 2012 at 7:53 comment added Gnik Hari, I think there is a misunderstanding between us. Let me explain again. See "editEmployee" button placed in a page called For eg. "Welcome.html". When clicking this button I'll send a request to the server. Once the request is completed successfully, then page will be redirected to "Employee.html" and i'll get the "employeeName" text box. So after clicking "editEmployee" button I have to ask the WebDriver to wait till I get "employeeName" text box. I hope this will help you.
Aug 13, 2012 at 7:30 history answered Hari Reddy CC BY-SA 3.0