WebKit based headless browser.
Webkit is a rendering engine mainly used in web browsers. PhantomJS uses a JavaScript engine called JavaScriptCore (which also uses safari) which is built-in Web-kit.
An environment in which a browser can be executed by commands programs.
Because the program can control the movement, PhantomJS is good at
– Automation test
– Scraping
In automated testing, Selenium + PhantomJS often come out as a set.