How to enable/load ibm aspera extension in playwright chromium browser?

Viewed 27

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
      }
    }
0 Answers
Related