'How do I run my Selenium IDE test cases in headless mode?
I am working on selenium IDE scripts and want to run the scripts in headless mode to do other stuff while smoke test are running in headless mode
How can I do that?
Solution 1:[1]
Check out the below, has define in more detail. Hope you get the answer.
https://code.tutsplus.com/tutorials/headless-functional-testing-with-selenium-and-phantomjs--net-30545
https://www.qafox.com/new-selenium-ide-chrome-browser-headless-mode-using-command-line-runner/
Solution 2:[2]
Try specifying in your driver arguments as shown below.
ChromeOptions options = new ChromeOptions();
options.addArguments("--headless");
WebDriver driver = new ChromeDriver(options);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Akzy |
| Solution 2 | Hari |
