Chrome extension - how to add it and automate it?

Hello,
Is there a way to automate chrome extension using robot framework?
I mean, I would like to add an extension to chrome and test it’s functionality using robot framework.
Is it possible? If so, how can it be done?
Can it be done like mentioned in How to test Chrome extensions in Selenium | BrowserStack ??
Thanks

Hi,

I don’t know if that’s what you want, but just put the browser’s username, that way enable the extensions.

Thanks for you answer,
So if I will use - ‘use_profile’ with the profile I saved it will work on Firefox and chrome?

i tried to use the following steps:

Open Chrome with extension
${ChromeOptions} = Evaluate sys.modules[‘selenium.webdriver’].ChromeOptions() sys, selenium.webdriver
${args} Set variable --load-extension=PATH TO EXTENSION
Call Method ${ChromeOptions} add_argument ${args}
#Call Method ${ChromeOptions} add_extension ${EXECDIR}${/}PATH TO EXTENSION CRX file
${Options}= Call Method ${ChromeOptions} to_capabilities
Create Webdriver Chrome desired_capabilities=${Options}
Go to https://www.google.com/
Maximize Browser Window

BUT the extension did not loaded :frowning:
How can we load an extension on chrome?