Questions tagged [phantomjs]

PhantomJS is a headless (GUI-less) WebKit with a JavaScript API. It has native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

Filter by
Sorted by
Tagged with
0
votes
1answer
898 views

How to clear cache ,History in PhantomJS browser

I have multiple test cases in that some of them are having login into website to test the functionality and some other are not required to login to test the functionality. Issue is when one test case ...
6
votes
2answers
5k 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
59 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 ...
2
votes
0answers
542 views

How to set browser window size using Phantom JS + Java

I am working on PhantomJS with Java for one of my project. I am looking for some help in working with PhantomJS in following scenario. Scenario : Step-1 : Mouse hover on tab/link then 2 sub-links ...
1
vote
0answers
430 views

How can I debug karma tests without changing PhantomJS to Chrome in Visual Studio Code

I have karma tests that during execution runs PhantomJS. Unfortunately when some of those tests fail, error messages are not very helpful. Thus, I would like to debug them. However, most sources ...
6
votes
1answer
593 views

Why Phantomjs got crashed while running more test cases?

I have written 751 test cases in Jasmine JavaScript. 116 test cases for Mobile View and 645 test cases on Desktop view. While executing test cases, most of the times, test case execution was not ...
3
votes
1answer
1k views

PhantomJS not rendering all of page even with a few seconds delay

I am using my linux box to try and periodically download my local skateboard park's webpage and search for whether there are free skate-school lessons available. I'm currently falling at the first ...
1
vote
2answers
410 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 ...
1
vote
1answer
1k views

PhantomJS not sending keys to input

I'm automating the input to a search bar; the program work fine when using chrome driver, but fails when I try to use PhantomJS. The text that should go in the search bar is not being typed properly: ...
7
votes
2answers
4k views

PhantomsJS rejects cookies set programmatically

I tried to set a cookie programmatically and PhantomJSDriver rejects that cookie even if cookie belongs to the current domain. The error message is very generic not revealing much details: Caused ...
4
votes
1answer
265 views

What bugs cannot be found with PhantomJS?

How credible is testing performed with PhantomJS WebDriver? What are types and examples of bugs that can be found with Chrome or Safari that cannot be found with PhantomJS? PhantomJS is a scripted, ...