What is the difference between something like this:
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://www.ubuntu.com/')
and this:
from selenium import selenium
selenium = selenium("localhost", 4444, "firefox", "http://www.locationary.com/")
selenium.start()
sel = selenium
sel.open("/")
sel.type("inUserName", "email")
sel.type("inUserPass", "password")
sel.click("login@DEFAULT")
???
Thanks.
EDIT:
Which one should I use?