0

I have to enable IBM Aspera Connect extension while launching the Chromium browser through Playwright.Can someone please provide inputs on this. I have tried the below steps from here https://www.petroskyriakou.com/how-to-load-a-chrome-extension-in-playwright , but it's not working :

Please let me know what is the extension Path here. It says 'failed to load extension from aspera connect.app: manifest file is missing or unreadable' . Should I be pointing to aspera client app or will there be any manifest.json file that I need to place in some location.

const extensionPath = path.join(__dirname, '../build');

const launchOptions = {
      devtools: true,
      headless: false,
      args: [
        `--disable-extensions-except=${extensionPath}`
      ],
      viewport: {
        width: 1920,
        height: 1080
      }
    }
Rahul
  • 759
  • 3
  • 21
  • 43
  • 1
    Refer to this [answer](https://stackoverflow.com/a/73450949/16310741), just replace the example extension there with the one you want (IBM aspera connect in this case) – Charchit Agarwal Sep 20 '22 at 13:52

0 Answers0