coldbox-modules / cbPlaywright

A library for integrating Playwright and TestBox
MIT License
9 stars 4 forks source link

Improvement: Support for Chrome Extensions #12

Open homestar9 opened 1 year ago

homestar9 commented 1 year ago

This is probably a pipe dream, but it would be amazing if we could use cbplaywright to launch browsers that have extensions enabled. The automation potential would be limitless if we could get extensions to work and read data gathered by them in CFML.

I sifted through the docs and it looks like extensions are supported by Chrome only right now, and there's a way to use them headless.
https://playwright.dev/docs/chrome-extensions

We might even be able to use the CLI to download a local copy of the extension files, similar to how the driver is installed.