I have tried Pamie a browser automation library for internet explorer. It interfaces IE using COM, pretty neat:
import PAM30
ie = PAM30.PAMIE("http://user-agent-string.info/")
ie.clickButton("Analyze my UA")
Now I would like to do the same thing using PyXPCOM with similar flexibility on Firefox. How can I do this? Can you provide sample code?
update: please only pyxpcom