Skip to content

Latest commit

 

History

History

chrome-extensions-with-selenium

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Using Google Chrome Extensions with Selenium

Using Google Chrome Extensions with Selenium demonstrates how to launch Google Chrome with a custom extension using Python and Selenium.

A custom extension that replaced every webpage that is visited with a "Successfully Installed!" message is used to verify that the extension is loading properly. This extension is defined in the extension subdirectory.

The actual code for launch Google Chrome with the unpackaged extension installed is in:

  • launch_chrome.py - A script to launch Chrome with the extension installed and print out the test results.