Browser automation: Python + Firefox using PyXPCOM

automation, firefox, python

Solution

I've used webdriver with firefox. I was very pleased with it.

As for the code examples, this will get you started.

Problem

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

Original source