Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Headless testing for JavaScript?

I am looking for a headless testing environment for javascript... something like ZombieJS, but without relying on nodejs, and something which has been around for a bit longer and is therefore, hopefully, a bit more stable...

Ty

like image 802
mrwooster Avatar asked Mar 10 '11 10:03

mrwooster


People also ask

What is headless JavaScript?

A headless browser is a web browser without a graphical user interface. Headless browsers provide automated control of a web page in an environment similar to popular web browsers, but they are executed via a command-line interface or using network communication.

What is headless testing?

What is Headless testing? Headless testing is simply running your Selenium tests using a headless browser. It operates as your typical browser would, but without a user interface, making it excellent for automated testing.

How do I run a test in headless mode?

Test Studio currently supports the headless mode for Chrome and Edge Chromium browsers. You can execute any existing test in your automation project in headless mode by selecting that type of browser.


2 Answers

Check out selenium

like image 140
DanSingerman Avatar answered Sep 23 '22 16:09

DanSingerman


Would JsTestDriver work for you?

That still needs a browser visiting a page, but as I understand you can just keep it open and forget about it, and get at the tests from the command line or wherever you want.

like image 45
Dre Avatar answered Sep 21 '22 16:09

Dre