Run web developer console in windows terminal

132 Views Asked by At

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.

2

There are 2 best solutions below

0
ManuelMB On

For that you need to use Nodejs and libraries such as cheerio, puppeteer or selenium, ...

1
Zeeshan On

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