<p>Been scouring the net for something like firewatir but for python.  I'm trying to automate  firefox on linux.  Any suggestions?</p>

[{'answer_id': 60218, 'author': 'Leon Timmermans', 'author_id': 4727, 'author_profile': 'https://Stackoverflow.com/users/4727', 'pm_score': 0, 'selected': False, 'text': '<p>The languages of choice of Firefox is Javascript. Unless you have a specific requirement that requires Python, I would advice you to use that.</p>\n'}, {'answer_id': 60219, 'author': 'Tyler', 'author_id': 3561, 'author_profile': 'https://Stackoverflow.com/users/3561', 'pm_score': 3, 'selected': False, 'text': '<p>You could try <a href="http://selenium.openqa.org/" rel="noreferrer">selenium</a>.</p>\n'}, {'answer_id': 60548, 'author': 'Toni Ruža', 'author_id': 6267, 'author_profile': 'https://Stackoverflow.com/users/6267', 'pm_score': 1, 'selected': False, 'text': '<p>See if <a href="http://twill.idyll.org/" rel="nofollow noreferrer">twill</a> can help you. It can be used as a command line tool or as a python library.</p>\n'}, {'answer_id': 60552, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>Install <a href="http://hyperstruct.net/projects/mozlab" rel="nofollow noreferrer">Mozlab</a> in Firefox and enable the telnet server, then open a socket.</p>\n'}, {'answer_id': 60630, 'author': 'Łukasz', 'author_id': 4999, 'author_profile': 'https://Stackoverflow.com/users/4999', 'pm_score': 2, 'selected': False, 'text': '<p>I use <a href="http://selenium-rc.openqa.org/python.html" rel="nofollow noreferrer">Selenium RC</a>. All my tests are written in Python and are run with test suite.</p>\n\n<p>One minor thing is that You either have to start selenium manually and point Your tests to it or start selenium from test suite which requires little bit of coding. But it\'s doable.</p>\n\n<p>Generally I\'m very pleased with this solution.</p>\n'}, {'answer_id': 69867, 'author': 'Matthew Trevor', 'author_id': 11265, 'author_profile': 'https://Stackoverflow.com/users/11265', 'pm_score': 3, 'selected': True, 'text': '<p>The <a href="https://developer.mozilla.org/en/PyXPCOM" rel="nofollow noreferrer">PyXPCOM extension</a> is one possibility.</p>\n\n<p>But looking at what firewatir provides, I have to 2nd the suggestion for twill. It\'s based on <a href="http://wwwsearch.sourceforge.net/mechanize/" rel="nofollow noreferrer">mechanize</a>, which might also be useful in this context.</p>\n'}, {'answer_id': 2223726, 'author': 'AndrewStone', 'author_id': 268853, 'author_profile': 'https://Stackoverflow.com/users/268853', 'pm_score': 0, 'selected': False, 'text': '<p>Many command line tools don\'t have a javascript interpreter so do not support web 2.0 functionality.  <a href="http://code.google.com/p/juicedpyshell" rel="nofollow noreferrer">juicedpyshell</a> is based on PyXPCOMext\'s PyShell example.  It gives you a python shell window "inside" the browser, and simplifies access to both the DOM of what you are browsing to and also the shell window itself (so you can add GUI elements as part of your automation script).  But its a new project so probably not as full featured as some of the above.</p>\n'}, {'answer_id': 7610441, 'author': 'theharshest', 'author_id': 891306, 'author_profile': 'https://Stackoverflow.com/users/891306', 'pm_score': 1, 'selected': False, 'text': '<p>I would suggest you to use Selenium instead of Mechanize/Twill because Mechanize would fail while handling Javascript.</p>\n'}]
['https://Stackoverflow.com/questions/60152', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2555/']