VocabReminder
Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Using Selenium to Drive Firefox Browser for Web Automation

       

There are a lot of practical uses for automating user behavior in a browser. Everything from testing your web application to logging into Twitter and auto following people.

But first you have to install the tools. Here is everything you need to run your scripts.

First install selenium with pip

pip install selenium

Next download Firefox. Visit https://www.mozilla.org/firefox and download and install.

Next you'll need the geckodriver

brew install geckodriver

That's it. Now you can run your Python scripts.

from selenium import webdriver
browser = webdriver.Firefox()
browser.get('https://google.com')

Click here for more information on Selenium and access to the full API

Tagged w/ #selenium #webdriving #python #automation #marketing hacks #firefox #mozilla