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

Marius Gedminas marius at gedmin.as
Fri Nov 4 03:24:22 PDT 2016


On Thu, Oct 27, 2016 at 02:45:11PM +0000, Harry Percival wrote:
> 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!

I'm currently having surprisingly little pain from using Robot Framework
to write Selenium tests: http://robotframework.org/

I don't know if it adds implicit waits in the right places, or if it
gently forces me into nice abstractions, but so far I like it much
better than dealing with selenium.webdriver directly from Python.
Almost no non-deterministic failures so far.

HTH,
Marius Gedminas
-- 
H.323 has much in common with other ITU-T standards - it features a complex
binary wire protocol, a nightmarish implementation, and a bulk that can be used
to fell medium-to-large predatory animals.
        -- Anthony Baxter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20161104/331a8e94/attachment.pgp>


More information about the testing-in-python mailing list