Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserDataDir doesnt works on 5.3.1 #6539

Closed
rusikf opened this issue Oct 22, 2020 · 4 comments
Closed

UserDataDir doesnt works on 5.3.1 #6539

rusikf opened this issue Oct 22, 2020 · 4 comments

Comments

@rusikf
Copy link

rusikf commented Oct 22, 2020

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch({ headless: true, userDataDir: './user_data_test' });
  const page = await browser.newPage();
  await page.goto('https://google.com');
  await page.screenshot({path: 'example.png'});

  await browser.close();

 })();

Freeze with userDataDir, without - works excellent. On 2x works with userDataDir

@rusikf
Copy link
Author

rusikf commented Oct 22, 2020

oops: works with absolute paths, not relative

@vsemozhetbyt
Copy link
Contributor

vsemozhetbyt commented Oct 22, 2020

May be fixed in #6506
Try to install tip-of-tree:
npm install https://github.com/GoogleChrome/puppeteer
or
npm install puppeteer@latest

@stale
Copy link

stale bot commented Jun 25, 2022

We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

@stale stale bot added the unconfirmed label Jun 25, 2022
@stale
Copy link

stale bot commented Jul 25, 2022

We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!

@stale stale bot closed this as completed Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants