Ask coding questions

← Back to all posts
Selenium with node.js
LOLzzz (0)

I tried to follow a tutorial on selenium with node.js but the code didn't work on, it gives an error

Error: The geckodriver executable could not be found on the current PATH. Please download the latest version from and ensure it can be found on your PATH.

How do I fix this? Thanks.

Answered by Coder100 (17026) [earned 5 cycles]
View Answer
LOLzzz (0)

@Coder100 I am having trouble trying to log into a site using puppeteer. It can't seem to find the Id #welcome_username
Here's the link to the code
And here is a link to the site I am trying to log into:

How do I fix it?

Coder100 (17026)

hmm i'll have a look later @LOLzzz

Coder100 (17026)

node doesn't support puppeteer/selenium right out of the box, you must use a middle man like bash