The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [headless]

Questions regarding usage of headless browsers for automation of testing web applications

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

Open a clickable link on a web page and take the screenshot at the same time

I'm new to chrome headless and I have a problem. I want to randomly select two links from a web page on the page being viewed and open them at the same time. Indeed my goal is to be able to have the ...
0
votes
0answers
23 views

Selenium execution in server

I was trying some Selenium execution in Ubuntu VDI (VMWare desktop). When I run through Maven, it executed the scripts with no issues. But it is failing when I integrated with Jenkins. I've received "...
4
votes
1answer
224 views

Headless browser testing

I have a question around headless browser testing which I am looking to utilise in my automation framework, which is written in c#. Headless browser testing is not an area I'm familiar with but I'm ...
1
vote
2answers
496 views

Drag and Drop does not work with headless chromedriver

I am automating drag and drop using Selenium and Java. Following is the code used for performing drag and drop using chrome driver in headless mode. Point classname = targetElement.getLocation(); int ...
1
vote
1answer
2k views

Screenshot with Katalon and Chrome headless mode

Copying/reposting from stackoverflow: https://stackoverflow.com/questions/51168671/screenshot-with-katalon-and-chrome-headless-mode. I'm using the following code to take screenshots of warning and ...
1
vote
1answer
630 views

Why do rspec-capybara chrome tests run headless fail on my mac and how to diagnose/fix it?

My colleague with a windows machine doesn't have this issue with the same code. All my tests that pass normally when run in chrome - fail when run headless at the point where the user presses save ...
6
votes
2answers
6k views

How headless mode is faster?

I'm using the below configurations: Selenium 3.8.0 Java 8 Ubuntu 16.04 I have automated my Application and am running tests in the Chrome browser. I came to know about PhantomJS driver ...
2
votes
1answer
60 views

What are the disadvantages of using SaaS companies for Regression and Functional Testing?

I am well aware that there are great services which allows us to use hundreds of available browsers, devices, AI supported false positive prevention and many other things. But when it comes to build ...
1
vote
2answers
3k views

How to setup a Headless-Browser Unit-Test for Angular application?`

I do have an angular Application where I also run a test ng test --sm=false. It works fine and I get the result in Chrome Browser. The issue is to be able to run a headless test because the App will ...
0
votes
2answers
2k views

Howto use the Firefox browser in headless mode with Selenium

How do I open a Firefox browser in headless mode using Selenium ?
1
vote
0answers
36 views

Selenium webdriver always headless [duplicate]

I am creating a simple webapp that allows my support colleagues to run Selenium Java Code from my custom created API. When from Eclipse (the app deployed in Tomcat8) I run a script, i can see in my ...
1
vote
2answers
438 views

How to reduce Phantom js test execution time for selenium junit test cases

I am using phatnom js driver for my selenium test cases to overcome the headache of chrome driver.I see it is taking lot of time to execute the test cases.I tried html diver prior to phantom.Since ...
0
votes
1answer
3k views

How to install Chrome v59 - headless - on Ubuntu? [closed]

I wanted to check out the headless version but I am still on version 58 even after updating my system This could dramatically reduce our test suite run time!
2
votes
1answer
1k views

How to take screenshot on Fail, with htmlunitdriver in java?

I am running Selenium along with cucumber with java, and trying to Capture screenshot on fail with htmlunitdriver in java? Can you help me how to capture a screenshot with HTMLunitDriver. I tried ...
1
vote
1answer
212 views

selenium webdriver scripts on phantomcss/ resemblejs or nightmare? [closed]

There are a few headless testing using different tools. We have created a few IDE scripts in Selenium IDE and successfully ported them over to C# in VS2015. We want to use some of these Selenium ...
1
vote
2answers
14k views

How to use Keyboard keys event in HtmlUnitDriver?

I am trying to use Headless testing using HTMLUnitDriver library. My code with keyboard keys events working fine with real browser but same code is not working when using HTMLUnitDriver headless ...