How to load Base64 encoded Chrome extensions using ChromeOptions and C# binding.

230 views
Skip to first unread message

Tom R

unread,
May 10, 2012, 12:11:51 PM5/10/12
to seleniu...@googlegroups.com
Hi Guys,

When using DesiredCapabilities.Chrome() I was able to pass base 64 encoded chrome CRX extensions to ChromeDriver using the "chrome.extensions" capability.  Using ChromeOptions it seems that extensions can only be passed by specifying the path of a CRX file or extension folder.

Am I missing something? Is there a work around?

Thanks in advance,

Tom.


David

unread,
May 10, 2012, 8:46:26 PM5/10/12
to Selenium Users
You mean to say you want to load extension to a remote WebDriver
(ChromeDriver) similar to what is available to Firefox?

But useful info here, I didn't know you could load Chrome extensions
with the driver locally.

David

unread,
May 10, 2012, 8:47:29 PM5/10/12
to Selenium Users
Never mind, my post, misread the question. But still, thanks for the
tip.

Newbee

unread,
Jun 12, 2012, 4:01:47 PM6/12/12
to seleniu...@googlegroups.com
Can you please give an example of how you are using an extension for chrome using capabilites.. i am trying to open chrome on the node with a particular extension but keep getting an error that its missing a manifest file. .... 

Any help appreciated.. 
Reply all
Reply to author
Forward
0 new messages