Does anyone know how easy it is to automate a web browser using python?
If so, can you point me in the direction of any basic examples of screen scraping and html manipulation using python
I work with firefox
LarZ
Does anyone know how easy it is to automate a web browser using python?
If so, can you point me in the direction of any basic examples of screen scraping and html manipulation using python
I work with firefox
LarZ
a few helpful libraries are: urllib, htmllib, urllib2, cookielib
I have not seen any code release for automating firefox with python, but I have seen one for the IE browser. Check out PAMIE for Internet Explorer: http://sourceforge.net/projects/pamie/
Webbrowser is great too.
import webbrowser as WEB
WEB.open('anyfile.extension')
# are URL's accepted? probably
# or under Linux, you could;
# import os
# os.system('firefox URL')
# and then
# os.system('killall -9 firefox')
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.