Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
74
rated 0 times [  81] [ 7]  / answers: 1 / hits: 107200  / 12 Years ago, sun, september 30, 2012, 12:00:00

I have several JS files so instead of copy and paste every one in the console window (Firefox and Chromium), I would want to call them from the shell if it is possible.



Every JS file has test functions that show if they are correct using console.log.


More From » shell

 Answers
8

If your tests need access to a DOM there is always PhantomJS - a headless (Webkit) browser.


[#82837] Friday, September 28, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
earllutherf

Total Points: 412
Total Questions: 108
Total Answers: 102

Location: Argentina
Member since Thu, Mar 18, 2021
3 Years ago
;