Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
1.3k views
by The go-to Tester (473 points)
retagged by
What is headless browser? What is the use of it in automation? Is it has GUI?

1 Answer

1 like 0 dislike
by The go-to Tester (181 points)
A headless browser is a web browser without any GUI(Graphical User Interface).
 
Headless browsers can provide control of a web page in an environment similar to the popular web browser, but widely executed using CLI (Command Line Interface) or over the network communication, hence allowing automation. They are widely used for test automation of web applications. It will render HTML including page layout, color, font selection and execution, etc. same as real browser. Since they do not have GUI, rendering will be very fast and consume less memory.
 
The PhantomJS (http://phantomjs.org/) is one of the widely used headless browser while automation using selenium.
 
Hope that helps!


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...