Web - Headless browser (Test automation)
About
A headless browser is an application/library that emulates a web browser but without a graphical user interface ie (without DOM / without the Web api)
They are the basis to build a web bot.
Usage
List
Library
Browser Driver Library:
-
puppeteer focuses on Chromium; its value proposition is richer functionality and higher reliability.
-
PhantomJS – a headless web browser using WebKit layout engine for rendering web pages and JavaScriptCore for executing scripted tests.
HtmlUnit – a headless browser written in Java (
Rhino engine to provide JavaScript and AJAX)
-
-
-
Proxy Script Injection:
Web API in Node
Browser
Command line
Headless browser command line:
Test Runner Documentation
Test runners are wrapping them around launcher to facilitate testing.
List:
Documentation / Reference