What are the benefits of using splinter as opposed to plain Selenium?

3,288 views
Skip to first unread message

Kevin

unread,
Sep 19, 2011, 6:05:50 PM9/19/11
to splinter-users
Taking a brief look at the site and docs today, I'm wondering if there
are key differences between Splinter and Selenium? Is Splinter just a
high-level wrapper for Selenium?

Thanks!
Kevin

Francisco Souza

unread,
Sep 19, 2011, 6:27:26 PM9/19/11
to splinte...@googlegroups.com
Yes, it is. But not only Selenium, we want to add other drivers to Selenium, so it'll be easy to change between drivers, or use more than one driver. Selenium is little slow, so you can use zope.testbrowser for tests that don't deal with JavaScript.

Imagine you're starting and don't have to worry about JavaScript, you can start testing using the zope.testbrowser driver. Then, if you start needing to test JavaScript-based components, or for another reason you need to actually open the browser, all you need to do is change the driver.

Regards,
--
Francisco Souza

Hugo Lopes Tavares

unread,
Sep 19, 2011, 10:57:54 PM9/19/11
to splinte...@googlegroups.com
The basic idea behind splinter in the old days was: one API for
whatever browser driver you want to use.

And splinter make it easy to you finding elements and deal with boring
stuff selenium does not.

Later!

Reply all
Reply to author
Forward
0 new messages