[Texas] Selenium question: self.browser.implicitly_wait()
Kojo Idrissa
kojo.idrissa at gmail.com
Mon Oct 27 19:03:07 CET 2014
All,
I could probably look this up in docs, but I'm teaching myself TDD (via the
ORA book, "TDD with Python"), and I've just used
*self.browser.implicitly_wait()* method from Selenium.
The argument I pass is time, in seconds. I may not be clear on how the
method works. Is that
- the time the window *should* stay open, *or*
- how long the window will stay open UNTIL the test runs?
So, if I used *self.browser.implicitly_wait(10), *in the first case, I'd
expect the window to be open 10 seconds. In the second case, I'd expect the
window to stay open *up to* 10 seconds, or as long as it takes for the test
to complete, whichever comes first.
Thanks,
Kojo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/texas/attachments/20141027/df6c1435/attachment.html>
More information about the Texas
mailing list