Questions tagged [ghostdriver]

Ghost Driver is an implementation of the Remote WebDriver Wire protocol, using PhantomJS as its back-end.

Ghost Driver is a pure JavaScript implementation of the WebDriver Wire Protocol for PhantomJS. It is a Remote WebDriver that uses PhantomJS as its back-end. Ghostdriver is the bridge between the Selenium WebDriver with Phantom JS.

Source: github.com/detro/GhostDriver

177 questions
0
votes
1 answer

PhantomJSDriver: Not able to switch to newly opened browser window

I have been trying to use PhantomJSWebDriver framework for automating an application using Headless browser. The main issue is as we can successfully switch between windows in firefox or IE windows, here I am not able to switch between windows based…
coding_cs
  • 77
  • 9
0
votes
1 answer

Phantomjs driver: get url not working for https

I'm using phantomJS driver to automate some tests. On the home page if I get a webElement and output the href I can copy it to a browser and the page opens but in the test when I do driver.get(loginLink.getAttribute("href")) it just stays on the…
Doctor Who
  • 1,287
  • 5
  • 25
  • 46
0
votes
1 answer

Timeout issue while running python script Phantomjs and Selenium

I am running a python script with Phontomjs and Selenium. I am facing timeout issue. It is stopping after 20-50min. I need a solution so that I can run my script without this timeout issue. where is the problem please and how can I solve it? The…
rhb1
  • 77
  • 10
0
votes
1 answer

Is there a way to debug the Ghostdriver source code (and phantomjs)?

I am using Python bindings for Selenium WebDriver and Ghostdriver/Phantomjs in UI automation that I have developed. I was wondering if there was a way that when I send a request to the Ghostdriver service, I can somehow "stop" the execution of the…
user1941192
  • 43
  • 1
  • 7
0
votes
0 answers

I can't submit a form (with uploaded files) using eclipse and phantomjs

I'm still new towards java and phantomjs and I was wondering if there are any experts that could spare the time and help me with my problem. This is the failure trace as stated. Is there anyway to resolve this issue? I've tried using ChromeDriver…
Calvin
  • 39
  • 1
  • 8
0
votes
1 answer

How to click on a close button of a modal dialog with PhantomJS and GhostDriver

I'm trying to take a screenshot of some twitter pages with Java, PhantomJS and GhostDriver, but all the time I'm getting screenshots with modal dialogs (sign-up modal or cockies modal). Can somene suggest me how to find this close button and click…
Djordje Ivanovic
  • 4,151
  • 4
  • 27
  • 49
0
votes
0 answers

PhantomJS & Selenium with GhostDriver sudden errors : Element Not Found (Java)

I work on Selenium and PhantomJS with GhostDriver in Java. I make some tests which work correctly, but since the last week, some sudden errors prevent to work, without modify the code... Windows 7. JDK is in 1.7.0_75 version. PhantomJS 1.9.7 is…
0
votes
1 answer

Bind Phantomjs to a Network Interface

I currently have multiple network alias (eth0, eht0:1, eth0:2), each having their own private ip which has its own public ip. When using remote web driver with phantomjs (ghostdriver), it always chooses the local host (See BUG…
0
votes
1 answer

Angular 1.2.x update to 1.3.x, cause failure in PhantomJsDriver (GhostDriver) rendering of a webpage

After we updated our client Angular version from 1.2.8 to 1.3.5 (or tried other 1.3.x versions for that matter), one of the SUT web pages, begun to fail in rendering (the webpage not rendered at all), with the error: [ERROR -…
Johnny
  • 14,397
  • 15
  • 77
  • 118
0
votes
0 answers

Selenium/PhantomJS doesn't work on http://webscraper.io/test-sites/e-commerce/more

I define a WebDriver, get to an example page: http://webscraper.io/test-sites/e-commerce/more/computers/tablets, and click "LoadMore" button for several times. None of them works. This is how I use it (in scala, I can translate and test in Java if…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
0
votes
1 answer

PhantomJSDriver failing to select a jQuery ui tab

I'm seeing a strange failure with not being able to select the second tab of a pair of jQuery ui tabs. This works perfectly fine with ChromeDriver but fails with PhantomJSDriver. My PhantomJS version: 1.9.8 jQuery version: 1.10.2 jQuery ui version:…
0
votes
0 answers

is this testing setup correct/possible selenium IDE, ghostdriver, phantom.js, grid and php-webdriver correct?

I would like to run many instances of phantomjs at once. The reason I would like to use phantomjs rather than selenium with firefox/chrome/ie is the cookie separation and the ease of using proxies if every needed (some of our systems will need to be…
Mr J
  • 2,655
  • 4
  • 37
  • 58
0
votes
0 answers

PhantomJS Ghostdriver and Nose --with-id

I am working with Selenium tests in python using Nose as a test runner. I run my tests like so nosetests -a level=gold --with-id --with-xunit Once tests are done, I usually run nosetests --failed So far we have run tests using FireFox and Chrome…
dbJones
  • 762
  • 1
  • 10
  • 31
0
votes
0 answers

PhantomJS file upload fails if file is larger than 20000 bytes

I have discovered a really strange problem when using PhantomJS with Selenium to upload a file. I noticed, that smaller files can be uploaded, while larger files can not. So I ran a binary search to find out at which filesize it stops working. This…
devsnd
  • 7,382
  • 3
  • 42
  • 50
0
votes
2 answers

PhantomJSDriver (GhostDriver) can't get localStorage values using javascript

Using PhantomJsDriver (GhostDriver) for testing my web application. Trying to access the local storage values using calls like: (String) js.executeScript(String.format("return localStorage.getItem('%s');", key)); In webDriver initialisation I'm…
Johnny
  • 14,397
  • 15
  • 77
  • 118
1 2 3
11
12