Using Chrome Extensions in Browser

Hello

I looked from playwright own page but the “extensions” section has been removed.
Is there any way I can use chrome extensions when using the Browser library?

Or is there any way to tell Browser to use the Chrome that I use for normal browsing, with all its cookies and extensions already installed?

1 Like

I am using this line as chrome args options in ‘New Browser’ keyword but does not work.
–load-extension=${directory}
Any help would be appreciated.

Since those browsers are all Chromium-based, they all work with Chrome extensions. If you use the Brave browser, simply visit the Chrome web store, find the extensions you want, and download/install as normal.

you mean install the extension in test case flow? I am not testing the extension here, but I need it to be installed.

hi, anyone able to use chrome extension using playwright?