jeudi 4 octobre 2018

How can I configure Selenium to have an extension pre-installed in Chrome?

We have a suite of tests that use Selenium to spawn Chrome instances when run locally. The Chrome instance that gets spawned is a completely vanilla profile with no extensions installed. For debugging purposes it would be useful to have the React & Redux dev tools extensions installed.

Is there a way to configure Selenium to install/enable extensions in the Chrome profile it spawns?

In an ideal world it wouldn't do a full install of the extension every time, but use a locally cached CRX file.

Thanks in advance for any help

Aucun commentaire:

Enregistrer un commentaire