1

Actually I want to run my selenium code on server where dont want open the any browser. But I am confused which webdriver is use for the server which do all task (where I download some files from some site and store in my server).

undetected Selenium
  • 151,581
  • 34
  • 225
  • 281
vipul gangwar
  • 303
  • 1
  • 3
  • 15
  • Possible duplicate of [Does Selenium support headless browser testing?](https://stackoverflow.com/questions/7568899/does-selenium-support-headless-browser-testing) – LoflinA Jan 21 '18 at 20:02

2 Answers2

7

To execute your Test Suite through Selenium without opening any browser you can use any of the Browser Client from the following list :


Headless Browser

Headless Browser is a web browser without a Graphical User Interface controlled programmatically used for automation, testing, and other purposes.

Headless Browser Engines

These Headless Browser Engines fully render web pages or run JavaScript in a virtual DOM :

Headless Browser Engines

Headless Multi Drivers

These Headless Multi Drivers libraries can control multiple browser engines (typically using Selenium) :

Headless Multi Drivers

undetected Selenium
  • 151,581
  • 34
  • 225
  • 281
1

HtmlUnitDriver and PhantomJSDriver are two webdrivers for headless testing without need of opening browsers.

Swati001
  • 11
  • 4