question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"'Page.getFrameTree' wasn't found undefined" when using chrome

See original GitHub issue

Trying to automate filling a form. When trying to use chrome Im getting the following error: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Protocol error (Page.getFrameTree): ‘Page.getFrameTree’ wasn’t found undefined

Same code works with the out of the box chromium packaged with puppeteer. but I get different type of captach when using chromium thats why Im trying chrome. Canary does not give this error but have other issues which i have not got to the bottom of yet

  • Puppeteer version: ^0.13.0
  • Platform / OS version: windows 10
  • node: v8.9.3

STR:

 const browser = await puppeteer.launch({executablePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', headless:false,slowMo:250});

What is the expected result? Chrome to open and load desired page.

What happens instead? Chrome opens does not load page. throws an error instead

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
aslushnikovcommented, Jan 4, 2018

@gpetrov unfortunately there are more things that differ underneath. Once we fully transition to the stable parts of the protocol / stabilize more protocol, it will not be a problem any more.

As a workaround, you can use an old version of puppeteer.

0reactions
zhenruyancommented, Jan 26, 2018

chrome 63 and chromium 59.0.3071.104 It all happened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Puppeteer 'Page.getFrameTree' wasn't found undefined
This issue occurs when using the wrong version of chromium. The release notes have the version of chromium you need to run, in...
Read more >
Diff - 15651144f3..ec3bf6e607 - chromium/src - Git at Google
TODO(timvolodine): consider handling this through a data structure. ... that we call onReceiveError at destruction if there + // was no safe browsing...
Read more >
chrome.webNavigation - Chrome Developers
This event can fire any time after onDOMContentLoaded , even after onCompleted . If the history API is used to modify the state...
Read more >
chrome_200_percent.pak - Hybrid Analysis
Found a string that may be used as part of an injection method. details: "Shell_TrayWnd" (Taskbar window class may be used to inject...
Read more >
Safari Technology Preview Release Notes - Apple Developer
Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, ... Fixed SendKeys on <input type="file"> returning element not found in some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found