What is Selenium headless?

What is Selenium headless?

Selenium executes test cases in mulitiple browsers like Chrome , Firefix, Safari and Edge. While running the test cases you can view the Browser UI and mouse and keyboard interaction what Selenium performs. Some time running in visible browser session may increase the Execution time. So Selenium allows to execute test cases in browser without launching UI , called as headless. Each Browser have respectibe Browser Option to make it heales…For ex: to launch headless chrome browsers chromeoption.addArguments(“–headless”);