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.

BUG- Not working with node 10.x

See original GitHub issue
await Promise.all([
        page.waitForNavigation({
          timeout: 15000
        }),
       (js.content = '$("input[value*=Login]").click();'),
        await page.addScriptTag(js),
        console.log("Clicking Login btn")
      ]);
      
     console.log(await page.url());

Environment

  • chrome-aws-lambda Version: 2.0.1
  • puppeteer-core Version: 2.0.*
  • Lambda Runtime: node 10.x

Expected Behavior

Should click the button and go to the corresponding url

Current Behavior

After Clicking on the button it redirects to “chrome-error://chromewebdata/”

Possible Solution

Works fine with node 8.10 on lambda

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alixaxelcommented, Jan 6, 2020

@sdk0794 By passing dumpio: true to launch() you to get a lot more debug information.

0reactions
sdk0794commented, Jan 6, 2020

Hey, Thanks a lot. Its working now. How did you debug the SSL error ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing the end of support for Node.js 10.x in the AWS ...
Starting January 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node.js 10.x which was EOL on April 30, 2021.
Read more >
How to Easily Update Node.js to the Latest Version
There are several easy & quick ways of upgrading Node.js. Learn how to update Node.js on different OS and improve your development ...
Read more >
Error npm is known not to run on Node.js v10.24.1 and how to ...
Open you terminal and verify you have the latest version using node -v . Verify your npm version too using npm -v ....
Read more >
Common errors | npm Docs
Some strange issues can be resolved by simply running npm cache clean and trying again. If you are having trouble with npm install...
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
What we often overlook in these debates is that every programming language and platform is criticized based on certain issues, which are created...
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