WebDriver is an API for controlling web browsers, e.g. for automated tests. There are different WebDriver "language bindings" (i.e. client libraries) and WebDriver "implementations" (i.e. browser extensions that make a browser controllable via the API), so if your question is specific to one of ...
4
votes
0answers
694 views
Selenium Webdriver Support for Javafx 2.0 Webkit or QT5 Webkit (Goal: headless webkit)
I was wondering:
Has anybody already thought about implementing the webdriver-interface for an embedded Javafx 2.0 Webkit Browser or for the new QT5 - Webkit.
Has anybody some pointers on some ...
4
votes
0answers
576 views
WebDriver GWT TabPanel Issue
I'm trying to create a WebDriver Test for a GWT application which uses a TabPanel. Clicking on a tab works fine in the IDE (it uses the x-path to find the tab) however I cannot get the tab click ...
4
votes
0answers
316 views
Missing file in compiled selenium app
I wanted to compile the short script I posted at looking for text of an element or source of current page so I can send it to someone who can test it on their computer.
I used the InnoIDE compiler ...
3
votes
0answers
2k views
Clicking a Flash button using selenium Webdriver
I need to automate this widget http://www.plupload.com/example_queuewidget.php i'm using selenium Web driver and I have successfully done the AutoIt script for to upload files but for to click the ...
3
votes
0answers
332 views
can Capybara use Selenium Iphone Driver?
I'm trying to run some test on an iphone emulator, i have the iWebdriver iphone emulator running on an ip address.
Is this possible as all the google results are about updating to user agent to make ...
3
votes
0answers
896 views
watir-webdriver is very slow locating an element by regexp on a heavy page
I found watir-webdriver to be extremely slow locating an element by regexp on a very big page, this is at least true in FF 8.0.1 for me. Example on a flight search results page (containing about 50 ...
2
votes
0answers
18 views
protractor's waitForAngular() fails on angular-webapp (appium/chrome on real device)
i'm (newly) using protractor to run e2e cucumber tests. i got a web-app which is angularJS based. im using appium to remotely run the test on a real android device. here are the versions:
windows8.1
...
2
votes
0answers
158 views
selenium.common.exceptions.WebDriverException: Message: 'The browser appears to have exited before we could connect.The output was: None
I have installed firefox and Xvfb on my centos6.4 server to use selenium webdriver.
But, when I run the code, I got an error.
from selenium import webdriver
browser = webdriver.Firefox()
Error
...
2
votes
0answers
37 views
selenium selectByVisibleText doesn't trigger on change method
I've used selectByVisibleText but the on change method associated to combobox doesn't trigger.
This is the combobox code
<form id="j_idt421" class="manageUsersPickerForm ng-pristine ng-valid" ...
2
votes
0answers
96 views
Selenium + webdriverio - How to retrieve a var produced by the page JS initialisation?
In the acceptance test suite that I'm developing (featuring mocha, sinon and chai at the top of the stack), I am able to load a page in phantomjs and perform all sorts of operations according to the ...
2
votes
0answers
19 views
Is there a way to automate the testing of chrome extensions?
I'm writing an extension for Google's Chrome browser and, in good TDD fashion, I'd like to start writing some BDD-like end-to-end integration tests before I start.
However, I'm finding documentation ...
2
votes
0answers
77 views
How do I get WebDriver working on a Mac from Haskell?
So (in my ongoing attempts to try and be a Haskell programmer) I thought I'd try using Haskell to automate control of Firefox on a mac. Went to https://github.com/kallisti-dev/hs-webdriver, installed ...
2
votes
0answers
93 views
Is there a system independent way of minimizing ( iconize ) a firefox browser window opened by selenium firefox driver?
i'm using selenium webdriver, there is only maximize_window() method, how can i make the window "iconized" under windows and linux ?
from selenium import webdriver
browser = webdriver.Firefox()
...
2
votes
0answers
109 views
Chrome: fake microphone input for test purpose
For testing purpose with protractor, I need to simulate audio input from the microphone on a computer without microphone.
With the "--use-fake-device-for-media-stream" flag, Chrome can simulate a fake ...
2
votes
0answers
281 views
Selenium IE Webdriver has an connection issue at start up
I need to use selenium webdriver to test with IE. I followed exactly the same instructions from the official google code project document. and I'm able to launch the IE webdriver with the code but get ...
2
votes
0answers
248 views
FirefoxDriver + Jenkins + Xvfb: Timed out waiting for action to finish
I'm getting a problem with running Firefox driver on Jenkins using Xvfb.
Every web driver action throws exception: com.thoughtworks.selenium.SeleniumException: Timed out waiting for action to ...
2
votes
0answers
273 views
Is is possible to load profile extension in chromedriver session?
I develop a program, which checks browser plugin behaviour [ in python & selenium ]. The plugin is a black box to me I just have it installed in browsers.
For example, in Firefox, i've installed ...
2
votes
0answers
126 views
How to correctly waitFor() a saveScreenShot() end of execution
Here is my full first working test:
var expect = require('chai').expect;
var assert = require('assert');
var webdriverjs = require('webdriverjs');
var client = {};
var webdriverOptions = {
...
2
votes
0answers
228 views
Webdriver Phantomjs and Angular $window.outerWidth not working
I'm building an application with angularjs and am end-to-end testing it with Webdriver using the PhantomJS Driver.
The app must support different screen sizes and also has some shortcuts integrated to ...
2
votes
0answers
144 views
Seeing clock_get_time() failed: (ipc/rcv) invalid name on Java
Writing a threaded java 1.7 program on OSX, and I'm seeing this error message pop up and spam my console once it creates an object with the selenium stuff inside of it. I am using java.util.Random in ...
2
votes
0answers
539 views
IE proxy settings using python and webdriver
I am trying to set the proxy settings for internet explorer using selenium with python.
This is what i have done::
from selenium import webdriver
PROXY = "localhost:8080"
...
2
votes
0answers
149 views
Html Unit not being able to find content created by JS
I am using the JQuery UI datepicker plugin to dynamically change some page content. I get HtmlUnit to click on the text input, which should make the datepicker popup appear. However when I call ...
2
votes
0answers
511 views
Python Selenium Webdriver Chrome windows [4512:11852:0709/110013:ERROR:textfield.h(162)] NOT IMPLEMENTED
if I start my Selenium test for Chrome in Windows
I have to wait 30 Seconds til Chrome comes up
The Url is loaded but nothing happens
In the shell I get the following message
...
2
votes
0answers
312 views
How to automate a Packaged Chrome App using WebDriver?
Can WebDriver automate a Packaged Chrome App?
WebDriver can open the Apps page, click on the packaged app icon, and launch the app which opens in its own app window. But, WebDriver cannot see the app ...
2
votes
0answers
284 views
remove arguments passed to chrome by selenium / chromedriver
I'm using selenium with python and chromium / chromedriver. I want to REMOVE switches passed to chrome (e.g. --full-memory-crash-report), but so far I could only find out how to add further switches.
...
2
votes
0answers
106 views
AndroidDriver “NoClassDefFound” errors occur during Runtime but not on Compile time
Whenever I run tests, I get the following error, "NoClassDefFound" AndroidDriver.
There are no errors during Compile time but happens only on Runtime. (I included the jar file ...
2
votes
0answers
287 views
MoveTargetOutOfBoundsError when trying to perform drag and drop in iframe
I'm trying to automate some tests for a web application, and many of the tests require drag and drop inside an <iframe>. I am dragging an anchor from one jspContainer to another within the same ...
2
votes
0answers
193 views
Android webDriver selenium tests fail to run on Emulators but working superb on Real Devices
Getting different sort of errors on test execution,
1) NosuchelementFound
2) Could not locate the element
3) NullPointerException, etc.,
Is there any fix or still an issue?
2
votes
0answers
3k views
MoveToElement and Click() in selenium webdriver is not working for me in C#
I have a toggle button that becomes active/visible only when MoseOver on it. I need to click on it and select the options from the drop down menu. This is the code and my attempts to automate bellow:
...
2
votes
0answers
1k views
Can a Selenium Grid 2 Node Json config file point to multiple hub / Servers?
I was wondering if there is a way to register a single Selenium Grid 2 Node to multiple hubs, using a json configuration file for this.
I was thinking something like this:
{
"capabilities":
[
...
2
votes
0answers
174 views
Can't we identify the elements present in a Modal window?
I've been using Java Robot to handle Modal windows by performing Mouse and Key events on them. But is there a way to actually identify an element and its properties present in a Modal window using ...
2
votes
0answers
293 views
WebDriver problems with element visibility in IE
WebDriver is telling me certain elements aren't visible when they definitely are, but only in IE - Firefox and Chrome work fine. The block of code involves radio buttons and other inputs. Some of the ...
2
votes
0answers
313 views
Authentication Required while executing Selenium “AndroidWebdriver” test
I Recently started learning selenium "Android Webdriver"
I'm getting "Authentication required" when JUnit test case is executing
I ensured below things are working fine
- Since I'm working in ...
2
votes
0answers
362 views
WebDriver Visual Studio 2010 and ReSharper APPCRASH
We use Visual Studio 2010 with ReSharper to handle and to run our webdriver (2.25.1) tests. Whenever I launch my test the browser (Firefox 12) starts but after a few second I got a window "Task runner ...
2
votes
0answers
1k views
selenium.common.exceptions.WebDriverException with Selenium Firefox Webdriver script from PHP/Apache
We are calling a python/selenium script which utilizes the firefox webdriver.
The script works fine when run from the command line, but when called using a system/exec call from PHP via Apache, we ...
2
votes
0answers
264 views
Selenium fails with empty exception message
I'm using Selenium 2.7.0 and Python 2.6, my OS is Mac OS X 10.7.
When I'm trying to instantiate webdriver object I'm getting the following message:
selenium.common.exception.WebDriverException: ...
2
votes
0answers
2k views
Selenium: Python webdriver and Firefox Profiles
I run a Python test but I get this error
C:\selenium>E[Error 32] unable to access this file. This file is used by another process: 'c:\\docume~1\\ammini~1\\impost~1\\temp\\tmpfhvfvf\\cert8.db'
...
1
vote
0answers
33 views
Making a class of ID's to work with Selenium Webdriver
I have to do a project where i have to run multiple test. I was wondering if there is anyway i can have a class with all of the ID's of the elements. I want to do this because it would be easier to ...
1
vote
0answers
29 views
Test on SauceLabs open www page and than close connection
I wrote a test in c# to run on IE 11 - Windows 8.1.
After open BaseUrl nothing will happen. And after few seconds I have a message: "ERROR user closed connection while waiting for command to ...
1
vote
0answers
29 views
Heap snapshot Selenium webdriver python
Is there any way to get Heap Snapshot from the Selenium webdriver?
I am currently using Chrome with Chrome driver.
I understand that both Inspector and Selenium connects via the same port.
In ...
1
vote
0answers
81 views
How to switch to a new pop-up window(a non-Angular app) to run Protractor?
I am trying to check the url of a new pop-up window, and this window is from a non-Angular application. I tried the code I found from the issue board of Protractor in Github. But there is an error:
...
1
vote
0answers
68 views
Web Driver Curl Exception
Trying to use Codeception Web Driver and Selenium to emulate ajax through an acceptance test. I was using PhpBrowser but when I was having issues with Ajax my friend suggested WebDriver.
After ...
1
vote
0answers
43 views
Selenium WebDriver Java RunTimeException thrown when trying to get the url's content
I am trying to get the content from the url after all tables are loaded. The code works perfectly for other urls which also load the tables with ajax, but I assume that this has some javascript ...
1
vote
0answers
43 views
Returning another Page Object from a Page Object function in webdriverJS / Protractor?
I am used to WebDriver Java approach for implementing Page Object pattern, which is described here
So everything in Java WebDriver Page Object pattern boils down to following:
The public ...
1
vote
0answers
65 views
Unable to take screenshot of PDF in IE9 using IE Webdriver
I am able to take screenshot in Firefox but not able to get screenshot in IE[getting blank screeshot]
Below is the code.
package com.test;
import java.io.File;
import java.io.IOException;
import ...
1
vote
0answers
91 views
How can I run Robot Framework tests in Opera/Safari?
I want to run my Robot Framework tests in the Opera browser. I know that Opera and Chrome share a webkit so first I tried to run my tests in Opera (using the Chrome webdriver) after successfully ...
1
vote
0answers
61 views
PageLoadTimeout and implicitywait not working in chrome browser in mac
PageLoadtimeout and ImplicityWait are not working in Chrome browser in mac os.
These were working for me sometime back. But recently all the scripts started failing on chrome as browser doesn't wait ...
1
vote
0answers
49 views
Selenium's alert.getText() returns null
My scenario is that I have 2 windows, and the 2nd one shows an alert dialog of which I wanna check it's text.
Now I switch my WebDriver to the second window via:
...
1
vote
0answers
133 views
Node WebDriverJS executeScript behaviour
I have a WebDriverJS Node script with the following in the global scope of the application:
var helperFunctions = {
'getElementEssentials': function get(orig, tmp, level) {
var tmp = tmp ...
1
vote
0answers
41 views
How to simplify a python function so the webdriver does't hang?
Hello fellow StackOverflow users. Currently I am writing tests via selenium and python to test the webcontent of the site I am working for. Some of the pages are dynamically filled out with updated ...