Reputation: 1
Is there any way to run the scripts which we run in the Developer console of Chrome or Firefox on Windows Terminal or CMD?
I want to run a Javascript code on every link I provide as input.
Upvotes: 0
Views: 176
Reputation: 184
You can use node js its run your .js file in terminal and consoles logs. " node Yourfilename.js " type this command in terminal and hit enter your file will run on terminal
Upvotes: 0
Reputation: 1375
For that you need to use Nodejs and libraries such as cheerio, puppeteer or selenium, ...
Upvotes: 0