$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Setup Python Selenium Webdriver on Mac OS X

April 24, 2012 | By Duchateaux.

This short Guide shows you How to Setup Selenium and the Webdriver to Work with the Firefox Browser on Python under macOS.
If your System Dispose of Multiple Python Versions you Should Need Before to Follow Indications Contained in the Troubleshooting Section at the Article Bottom.

  1. Open a Terminal Window

  2. Install the Python Pip

    sudo easy_install pip

  3. Install Selenium

    sudo pip install Selenium

After you Selenium Installation Should be Correctly Setup and Working.

To Test the Python-Selenium Under macOS Perform on Terminal:

  1. Load the Python Console

    python

  2. Try to Load the Selenium Python Extension

    >>>> from selenium import webdriver
    >>>> driver = webdriver.Firefox()

    If All is Correctly Set-Up after a little while you Should See a Firefox Browser Appearing.
    If you Get Some Error Messages look at the Troubleshooting Section here Below.

Troubleshooting

If your Python is Not Completely Setup for Mac Check How to Correctly Setup it Inside this Guide Here Below.