Questions tagged [headless-browser]

A headless browser is a web browser without a graphical user interface. They are used to provide content of web pages to other programs.

A headless browser is a browser without a GUI. In most cases, it can be accessed from a command line.

They are typically used for automated testing of websites.

Examples include:

748 questions
-1
votes
1 answer

Linux Command Line only Headless Browser Testing (React/Blaze)

i have only a command line Linux but would like to do some ui tests for our meteor application. So i heard there are some libraries which provide functionality of headless browsers. PhantomJS, Selenium, Headless Chrome So what i would like to know,…
Gobliins
  • 3,848
  • 16
  • 67
  • 122
-1
votes
1 answer

Headless Selenium test which fills out a form?

We have a terminal application which serves webcontent via iFrames to our clients. For some reason, it has been decided that we want to automate the test for this server side. I need to visit a page, fill out a form, and submit it - without actually…
MickeyThreeSheds
  • 986
  • 4
  • 23
  • 42
-1
votes
2 answers

How to run protractor testcases in Jenkins with a headless browser?

I have used phantomjs but compatibility of phantom js is bad with protractor. Though in chrome and firefox browser I am able to find elements but same locators are not found in phantomjs.
subhasish
  • 21
  • 1
  • 4
-1
votes
1 answer

PhatntomJs with Selenium is not able to start session

I am using PhantomJs with Selenium for headless automation. It worked well for me until today. Now, I am getting the below exception when I am initializing the PhantomJs driver. The code I am using is as follows: Capabilities caps = new…
-1
votes
1 answer

Java headless browser compatible with version 1.7

I'm looking for a java headless browser to make automated test for my server, unfortunatly i can't change the version of java, which is the 1.7. So far i tried with jbrowserdriver and ui4j, but they are not compatible with my java version. It would…
Progs
  • 1,059
  • 7
  • 27
  • 63
-1
votes
1 answer

How do you open multiple pages simultaneously with phantomjs?

I am using phantomjs as a headless browswer. I want to open two pages simultaneously which will then communicate via web sockets. Can I have both pages open at the same time within phantomjs and can phantomjs handle websockets? I am using socketio…
Daniel
  • 1,284
  • 3
  • 12
  • 17
-1
votes
2 answers

PhantomJS running a script against a specific HTML file?

PhantomJS has the worst documentation ever. How do I run a simple .js against a specific html file? If I run phantomjs, I can use the REPL interface run require. How do I run that in such a fashion that window. is set as if a specific html file was…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
-2
votes
1 answer

What's the best way to get just the user readble word content of a page?

Take your average mainstream url like: https://people.com/books/jay-shetty-announces-new-book-8-rules-of-love/ And it's pretty easy to just copy and paste the text of the article as a human. But is there any standard way in 2023 to get just the…
-2
votes
1 answer

Headless browser integrated into frontend of website?

So I don't have any practical experience with headless browsers just yet. Is it generally possible to have a headless browser run within the frontend javascript of a website? If so, wouldn't that be a way to bypass cross origin policy? I mean at…
Pariah
  • 17
  • 4
-2
votes
1 answer

python web crawler cannot get full page

I try to run the following python code: import requests headers={'User-Agent':'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140…
-2
votes
1 answer

Any headless browser for node with access to outcoming request body?

I am trying to do some web automation. There is a website that is transferring a query parameter between its requests, which is constructed with come complicated and obfuscated js code, that browser executes, and this parameter is not stored within…
Sergey
  • 1
  • 1
-4
votes
1 answer

How can i use Headless Browser with Selenium and C#.Net

How can I use Headless Browser with Selenium and C#.Net. I am new in selenium so can any help me.
Sumit Garg
  • 29
  • 8
-5
votes
1 answer

Which is best headless testing tool for ruby on rails app

I have a ruby on rails application and need to run headless testing for javascript and other BDD test cases. Suggest best available tool to run BDD tests in headless mode.
1 2 3
49
50