Custom Firefox Profile in Selenium RC2 | Omar Bohsali

2011-07-26 20:36:26 +0000 - omar
from selenium import webdriver
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile
profile = FirefoxProfile(profile_directory='/path/to/profile/directory/default/')
driver = webdriver.Firefox(firefox_profile=profile)