I am having problems in adding extensions in Chrome before Selenium tests, using Python.

On the code side, it's pretty simple:

options = Options()
webdriver.Chrome(options = options)

The problem is in finding the path. The folder where my extensions are stored is the following:

enter image description here

Even inside each folder I have no clue of the extension itself.

1 Answer 1


Under Linux your home-dir is /home/username/

So from your screenshot I would expect the path to be:


Each directory in your screenshot is an extension. You could copy the extension to a path you do know. Just copy the directory with the right ID. You can find the ID's in the Chrome extension manager. Surf too chrome://extensions/?id= +id to check if it is the right one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.