alekzonder / docker-puppeteer

docker image with Google Puppeteer installed
https://hub.docker.com/r/alekzonder/puppeteer/
MIT License
485 stars 138 forks source link

can't launch chrome extension #32

Open xingyu-he opened 5 years ago

xingyu-he commented 5 years ago

I want to load a extension, but it always tips Navigation Timeout Exceeded: 30000ms exceeded.

async ({ option }) => {

const pathToExtension = '../mydir';
  const browser = puppeteer.launch({
    headless: false,
    args: [
      `--disable-dev-shm-usage`,
      `--disable-extensions-except=${pathToExtension}`,
      '--no-sandbox', 
      '--disable-setuid-sandbox',
      `--load-extension=${pathToExtension}`
    ]
  });

});

mihai-burduselu commented 5 years ago

How did you solve the problem?

RicardoVaranda commented 3 years ago

@xingyu-he Did you ever get this fixed?