[TIP] What do people use as a wrapper around Selenium?

Masiar, Peter (PMASIAR) PMASIAR at arinc.com
Thu Oct 27 14:45:17 PDT 2016


I am far from Selenium expert but from my research: Experts advise to avoid mixing explicit and implicit waits (use explicit only).

Jim Evans: http://stackoverflow.com/questions/15164742/combining-implicit-wait-and-explicit-wait-together-results-in-unexpected-wait-ti

https://blog.mozilla.org/webqa/2012/07/12/how-to-webdriverwait/

I solved it by writing a custom wrapper which uses explicit waits only. Stability of our tests improved, I hope partially by avoiding implicit waits.

HTH

[cid:image002.png at 01D23079.E1232A80]Peter Masiar / Sr Software Developer / ARINC Direct



From: testing-in-python-bounces at lists.idyll.org [mailto:testing-in-python-bounces at lists.idyll.org] On Behalf Of Harry Percival
Sent: Thursday, October 27, 2016 10:45 AM
To: testing-in-python at lists.idyll.org
Subject: [TIP] What do people use as a wrapper around Selenium?

I occasionally run into trouble with Selenium's behaviour, specifically due to implicit waits and automatic waits for page load.  In discussions with the selenium + mozilla devs, they often say  that they think this kind of "magic wait" ability is better left to "library authors", ie people building wrapper libraries, with selenium as a lower-level tool.
So, any experiences out there from people using Python wrappers around selenium?  Bonus points for Selenium 3 compatibility!
--

--
Harry Percival
+44 78877 02511
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20161027/1db754d8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10518 bytes
Desc: image001.png
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20161027/1db754d8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7569 bytes
Desc: image002.png
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20161027/1db754d8/attachment-0003.png>


More information about the testing-in-python mailing list