Questions tagged [selenium-server]

Selenium component for running Selenium-RC and Selenium-Grid

The Selenium Server is needed in order to run either Selenium RC style scripts or Remote Selenium WebDriver ones. The 2.x server is a drop-in replacement for the old Selenium RC server and is designed to be backwards compatible with your existing infrastructure

97 questions
12
votes
2 answers

Handle file upload with Selenium Server Standalone

I try to execute testsuite on a remote host with use of Selenium Standalone Server. It should upload a file. I use code below to handle file uploads: FileBrowserDialogHandler fileBrowserDialogHandler = new…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
12
votes
7 answers

java.lang.UnsupportedClassVersionError: org/openqa/gr id/selenium/GridLauncher (Unsupported major.minor version 50.0)

I got this selenium server jar file in my Selenium folder. When I'm trying to execute this with java - jar selenium-server-standalone-2.0b3.jar command I'm getting this version difference error. Can anyone please show me where I'm making a…
sam1132
  • 181
  • 1
  • 2
  • 9
8
votes
3 answers

Remote File Upload Protractor test

I am writing tests in protractor which a JS based framework and selenium test stack for running tests. I am facing an issue where I have to test file upload. Problem I am having is File I am trying to upload is in the test package whereas selenium…
jammy
  • 81
  • 1
  • 3
7
votes
4 answers

Selenium server not starting for custom firefox profile

I'm trying to start the selenium server by passing custom firefox profile to the DefaultSelenium constructor. It opens the browser with specified URL. DefaultSelenium selenium = new DefaultSelenium("localhost", 4444, "*custom \"C:/Program…
9ikhan
  • 1,177
  • 3
  • 11
  • 22
7
votes
1 answer

NTLM authentication in Selenium RemoteWebDriver

I am trying to use the Selenium HtmlUnit driver in C# tests. As far as I know, the only way to use the HtmlUnit driver in C# is through Selenium server and the RemoteWebDriver: var driver = new OpenQA.Selenium.Remote.RemoteWebDriver( …
personne3000
  • 1,780
  • 3
  • 16
  • 27
6
votes
1 answer

Nightwatch with Chromedriver does not exit after assertions

I have an issue whereby Nightwatch is not exiting after all the assertions have passed. The execution seems to freeze and never exits despite the chrome driver being closed. The versions are as follows: chromedriver (headless):…
6
votes
3 answers

"Selenium server standalone" jar vs "selenium java" jar

I am bit confused here.. "selenium-server-standalone" jar contains all the library files to run script then why do we need to use "selenium-java" jars? I read somewhere that its used for Language Binding.. if it is true, then please help me to…
Anish Nair
  • 61
  • 1
  • 5
5
votes
1 answer

Starting Selenium Server with Nightwatch.js

I was using selenium-webdriver and wanted to try out nightwatch.js to see if it is easier to use. I followed the instructions here. I decided to let Nightwatch automatically start the selenium server for me so I did what I thought was the proper…
Grim
  • 2,398
  • 4
  • 35
  • 54
4
votes
1 answer

Chromedriver doesn't quit after test finishes

I'm using nightwatch framework for my tests. I have installed selenium-server via this command into my project folder "npm install --save-dev selenium-server", and a chromedriver via npm install --save-dev chromedriver. I run my tests with this…
4
votes
0 answers

End to end Testing / Run Selenium IDE .json file using webdriver node.js

I have installed Selenium extension of google Chrome Selenium IDE, so I can record my tests and save the test file as .side which is a json file. It contains {id , command , target , value} . { "id": "70a08bcc-b351-4ec6-b64d-f833f09adfa2", …
4
votes
1 answer

Selenium server raise error : does not match current platform LINUX

I am using selenium 2.47.1. I downloaded the client and server and put then inside my project. When I started the server it logs this information: java -jar selenium-server-standalone-2.47.1.jar 22:47:10.469 INFO - Launching a standalone Selenium…
Robert
  • 10,403
  • 14
  • 67
  • 117
3
votes
0 answers

Selenium python-grid-DefaultRemoteProxy unknown version,No route to host

I started selenium hub on machine1 (ubuntu), start the node2 on machine2 (Redhat 6). Both machines have the same version of selenium server=selenium-server-standalone-2.46.0.jar Problem: when I run test, it gives me error: [EXCEPTION] Message:…
3
votes
2 answers

Is there a way to pause using PHPUnit extending Selenium

My tests are running too fast, and the code always fail. Is there a way to pause? I tried $this->pause('3000'); and $this->wait('3000'); but it doesn't work. Right now, I'm using $this->setSpeed('3000'); but it's running too slow.
yan
  • 480
  • 1
  • 11
  • 21
3
votes
2 answers

How can I overcome Element id exception in Selenium?

T set 'id' for GWT widgets in UiBinder itself. For eg. Also added in *.gwt.xml Then I try this in Selenium test case WebElement element = driver.findElement(By.id("gwt-debug-loginButton")); Sometimes it works correctly. But some times it throws…
Gnik
  • 7,120
  • 20
  • 79
  • 129
2
votes
1 answer

useragent googlebot using selenium

I'm trying to use selenium to invoke my webpage as googlebot. below is my code, but it does redirect the traffic to view webpage as googlebot...Can someone help me to direct my requests to googlebot programmatically? package…
Bhavana
  • 95
  • 3
  • 5
1
2 3 4 5 6 7