Use Splinter or not ?

92 views
Skip to first unread message

devOgopan

unread,
Dec 28, 2015, 6:41:01 AM12/28/15
to splinter-users
Dear Friends,

I am basically a Network protocol tester with scripting experience in Python. For the first time in life I am going to test WebUI of a cloud application in networking with lot of javascript. I was seriously thinking about Selenium, but then I heard about Splinter which looks simpler than Selenium.

My question is there any hidden limitation in Splinter (compared to Selenium) which I am not aware of now ?

Basically the good's and bad's against Selenium I want to know.

Thanks in advance

Cheers
devOgopan

Hugo Lopes Tavares

unread,
Dec 28, 2015, 10:37:06 AM12/28/15
to splinte...@googlegroups.com

You can use splinter with Chrome/Firefox/RemoteWebDriver and behind the scenes selenium is being used. If selenium has any hard limitations, it's likely that splinter has too (check the docs or ask here to confirm).

The idea behind is splinter is to provide a single and simple API to use different browsers (we call them drivers). Check the docs to know about the available drivers and their APIs.

--
You received this message because you are subscribed to the Google Groups "splinter-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to splinter-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

devOgopan

unread,
Dec 28, 2015, 12:23:08 PM12/28/15
to splinter-users
Thanks mate !!

Hart Simha

unread,
Jan 19, 2016, 8:58:05 PM1/19/16
to splinter-users
I was reading that Selenium has plugins/tools that will record the actions you take in your browser and will generate the code (in Python or any other language with a Selenium library) to perform the same actions in an automated way. By using Splinter, wouldn't you lose out on the ability to harness such tools, and have to write all browser interactions manually instead?

Hugo Lopes Tavares

unread,
Jan 19, 2016, 10:23:39 PM1/19/16
to splinte...@googlegroups.com
Hi Hart Simha,

I was reading that Selenium has plugins/tools that will record the actions you take in your browser and will generate the code (in Python or any other language with a Selenium library) to perform the same actions in an automated way.

The tool you are talking about is Selenium IDE[1] (which is pretty cool, but I am not sure if it's still maintained).

By using Splinter, wouldn't you lose out on the ability to harness such tools, and have to write all browser interactions manually instead?

If you are using tools like Selenium IDE, you don't need splinter. Splinter was created to be an easy Python interface to different browser drivers[2] (e.g., selenium, zope.testbrowser, PhantomJS). If you don't need to write Python code and you're only interested in interacting with selenium, you don't need splinter and shouldn't use it.


Reply all
Reply to author
Forward
0 new messages