Description
Web pages can be loaded and automated without a visible browser window for tests, screenshots, scraping, and legacy build workflows. This is useful for older projects that still depend on the PhantomJS JavaScript API.
It is a headless browser runtime and is widely considered legacy. Web content can execute JavaScript and access local files or network resources depending on how it is invoked, so use it only with trusted inputs or strong isolation.