News for hackers. Stuff that matters.
Re:Show HN: MechanicalSoup, Python library for automating in... by wc- on Wednesday July 09, 2014 @06:50PM (#8012645)
Selenium seems very heavy-weight to me (granted I have only used selenium server). If you don't need to interpret javascript after a page loads then you might be able to use mechanize. In my experience I've gotten better performance and a higher ease of development with mechanize over selenium or other "full" headless browsers. Different tools for different jobs I suppose, I just tend to go for the smallest tool first.

edit: replace mechanize with mechanicalsoup in the above paragraph, they are aiming to solve the same problems in the same way.

Re:Show HN: MechanicalSoup, Python library for automating in... by dkhar on Wednesday July 09, 2014 @09:13PM (#8013085)
> Selenium seems very heavy-weight to me

Fair point. Perhaps try Sulfur?

Re:Show HN: MechanicalSoup, Python library for automating in... by mhluongo on Wednesday July 09, 2014 @09:56PM (#8013190)
I started googling, excited about discovering a new library, only to realize what you'd done there -_-
Re:Show HN: MechanicalSoup, Python library for automating in... by mherrmann on Wednesday July 09, 2014 @11:41PM (#8013476)
Try "Helium web automation" ;-)
Re:Show HN: MechanicalSoup, Python library for automating in... by MrMeker on Thursday July 10, 2014 @03:16AM (#8014009)
Selenium and Sulfur both have a certain smell to their code, just rotten. I prefer Oxygen.
Re:Show HN: MechanicalSoup, Python library for automating in... by hugs on Thursday July 10, 2014 @02:07AM (#8013856)
With Selenium 2, you aren't required to use the selenium-server anymore. You can drive browsers directly from the client lib.