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

[Bug]: When executablePath contains UNC file path for windows, chrome pops up and closes immediately. #9454

Closed
webnoob opened this issue Dec 27, 2022 · 2 comments

Comments

@webnoob
Copy link

webnoob commented Dec 27, 2022

Bug description

Steps to reproduce the problem:

Launch with a UNC path:

browser = await puppeteer.launch({
      headless: false,
      executablePath: '\\?\C:\some\path\to\chrome.exe'
})

page = (await browser.pages())[0]
await page.goto('https://google.com', {
  waitUntil: 'networkidle0',
});

When launching this way (with \\?\ ) the browser window pops up very briefly and closes immediately leaving the connection waiting (which times out after the default 30 seconds)

If you remove the \\?\ part of the path, everything works as expected (assuming you use the correct chrome path)

Puppeteer version

16.2.0

Node.js version

14.19.0

npm version

6.14.16

What operating system are you seeing the problem on?

Windows

Configuration file

No response

Relevant log output

No response

@webnoob webnoob added the bug label Dec 27, 2022
@Lightning00Blade
Copy link
Collaborator

Hey @webnoob is the issue reproducible on the latest version?

@jrandolf
Copy link
Contributor

Please file a new issue with the improved bug form. We will try to reproduce it there.

@jrandolf jrandolf closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2023
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

3 participants