Newest 'selenium-grid' Questions

Q&A for professional and enthusiast programmers

RemoteWebDriver launches browsers in background when started remotely using cygwin and openssh

I am trying to run automation tests remotely on a windows machine using from Unix box. I am using cygwin and openssh for it. I am able to run the tests and take screenshots. However, the browsers ...

Selenium: Unable to create folder and file for download in the Jenkins pipeline

The test is to download a file by clicking the link for download template. When I execute the script in my local machine, it is working perfectly. Able to create the download folder and the file ...

Selenium grid and azure

we use VSTS to build apps but this all is not on remote machine but in cloud. I need to run selenium grid on this cloud to run my tests on nodes, how can i do it?If it was a remote machine that's ok ...

Multiple tests on the same IEdriver instance - memory issues

I'm running lots of selenium tests on my node which is windows machine. In order to speed up test execution by avoiding starting/closing IEDriver instance after every test I decided to reuse the same ...

Unable to lauch Opera node on Selenium grid (selenium-server-standalone-3.0.1.jar)

I'm trying to setup Selenium grid (Hub and nodes will run on same VM) which has Chrome, InternetExplorer, Firefox and Opera nodes running on it. Im working with such infrastructure: OS: Windows ...

Execution not starting in node desktop when i am using Selenium GRID

Execution not starting in node desktop when i am using Selenium GRID. Here i tried to launch firefox browser in node desktop. How can i solve this issue. Your answers could be appreciated.Thanks in ...

Cannot run tests in parallel (Selenium grid + NUnit)

Im using NUnit 3.5 in combination with a selenium grid (selenium-server-standalone-2.53.0.jar) with two nodes (one node is on the same machine as the hub). Executing tests sequentially on the grid ...

Selenium ChromeDriver: Adding chrome extension does not work on Grid

I am trying to run a test on selenium grid using Chrome with ModHeader extension. The extension loads fine locally with the solution provided by Florent B in chrome modify headers in selenium java, ...

“An unhandled exception of type 'System.InvalidOperationException' occurred in WebDriver.dll” error coming up

I am running a simple code to launch the firefox browser. Running it in Visual Studio. Below is the code: IWebDriver driver3 = new RemoteWebDriver( new Uri("http://localhost:4444/wd/hub"), ...

Selenium Grid does not work with IE11

Selenium Grid (selenium-server-standalone-3.0.1) does not work with IE 11 on Win7 32Bit node. IE browser window is opened, but the test is not executed. Only the message "This is the initial start ...

Unable to create new Chrome remote session

I'm trying to launch a new Chrome browser using Selenium Grid but ending up with the below error Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, version=...

Selenium Grid Node cannot connect to Hub

I am trying to initiate a Selenium Grid hub on my Mac and then set up a node on a Windows 7 VM also on my Mac (running in VirtualBox, if that matters). I am running this command on the Mac: java -...

API for getting the selenium nodes status from the grid host

Sorry for the generic question, but is there an api that is available as part of the selenium grid that i can query to find out the current active sessions on the grid. There is an api that uses the ...

OWASP ZAP JVM contention with same Selenium Grid ports

I am attempting to run Selenium automation scripts through the selenium grid server with ZAP sitting on the same port analyzing the thru traffic. However, I am having a point of contention with both (...

Selenium Grid: How to retrieve node information from HUB programatically?

I am trying to run my selenium code using selenium grid. Can someone please tell me how to retrieve system information (Like PC name , OS )of the node using java code

remote execution in sikuli

I have an integrated selenium/sikuili automation project which I would like to run on windows agent here is the scenario: Machine (A) contains the source code Machine (B) is the agent test runner ...

Safari 10.0.3 Vs Selenium 2.52.0 - Session was terminated due to SO_TIMEOUT & Session was terminated due to PROXY_REREGISTRATION

After upgrading to Safari latest version 10.0.3 & MAC latest version macSierra, execution gets interrupted with the following error messages, Session was terminated due to SO_TIMEOUT Once the ...

Selenium and java servlet and javaScript

I have a situation in which I want Selenium webdriver to run on client. I have a webpage with Submit button inside form. In form's action attribute I am calling servlet action="servletName". Now in ...

How to support multiple environments/DNS in Selenium Grid?

I have a suite of automated tests that run on a Selenium Grid. I have a need now to run these tests in multiple environments (QA, Stage, Production). The environments will be set up using a different ...

Can't connect my 'BrowserFactory' to 'Selenium Grid'

I can't connect my BrowserFactory to Selenium Grid. Any ideas why the following code won't work? public static WebDriver getDriver() throws Exception { try { // Load the driver selected by user ...

DesiredCapabilities 'Chrome' > Dosnt Work with 'Selenium Grid'

DesiredCapabilities 'Chrome' > Dosnt Work with 'Selenium Grid. I have a hub setup correctly and a node however when trying to point Chrome browser to one of the nodes it dosnt work. Current code: ...

Unable to create new remote session - Selenium webdriver

I am getting exception Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, ...

Is it possible to download excel or CSV report file in selenium grid at desire location?

I am trying to download excel and CSV report file in Selenium Grid but can't able to see downloaded file at desire location. FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("...

Not able to run more than 10 Tests in parallel via TestNG Dataprovider

Hi i have designed a selenium test to run in parallel (25) @Test(dataProvider = "getData" ) public void multiUserTest(String url, String username, String password) throws InterruptedException,...

Selenium remotewebdriver stuck before launching browser

I'm trying to launch Firefox remotely on a windows machine from UNIX box using remotewebdriver I am also starting the selenium node remotely using ssh(It starts fine) using cygwin and OpenSSH. (I've ...

IE is in not responding state or getting freeze in selenium grid

Sometimes IE is going to not responding state or getting freeze while running selenium scripts in selenium grid in the nodes. Event if we give driver.quit() , driver is not getting closed. Please let ...

Selenium Grid hits command timeout Before newSessionWaitTimeout

In my selenium grid setup, my session requests (that are waiting for empty slots to become available) timeout before hitting the newSessionWaitTimeout because they are hitting the RemoteWebDriver ...

Define location of selenium chromedriver executable in node config json (3.0.1)?

I know I can define the location of the chrome driver executable when I launch a selenium grid node like so: -jar -Dwebdriver.chrome.driver="C:\chromedriver.exe" selenium-server-standalone-3.0.1.jar -...

Unable to get Selenium Grid 3.0.1 running on multiple instances of Chrome

I have recently moved from Selenium Grid 2.48 to 3.0.1 but I am having problems getting tests to run on multiple instances of Chrome. It appears that when Selenium Grid changed from v2 to v3 that ...

How to log what node Selenium Grid tests are running on

I am curious if there is a way for me to log which node my Selenium Grid tests ran on. I am interested in this for debugging purposes. Sometimes I need to look at the selenium_node logs and currently ...

How to run script when selenium node is idle (Selenium grid)

Is there any way to trigger a .bat script when a selenium node is idle? I have a selenium grid setup consisting of one hub and three nodes on separate machines. What i'm trying to do is to have a ...

Docker - Selenium Grid -> container with windows and FF or with mac os and safari

I need a help with docker. I am rooki when it comes to use it but I need it for selenium GRID. I found only conteiners for selenium with different browser like IE, chrome or FF but all of them on ...

Why does my code Not connect to my Hub or Node?

Why does my code Not connect to my Hub or Node? I need to execute my test cases using a node. I have successuflly setup a hub and node. My code: case "chrome": if (null == webdriver) { ...

Selenium - Enable elementusing javascript is not working in Jenkins

The test is to upload a file but the problem is that the element is hidden. I used a javascript to make the element visible (refer to the code below). The code work perfectly when I execute it in my ...

Run nosetest with selenium grid

I'm currently trying to run python UI automations using selenium grid and nosetest. I finished setting up the hub and two nodes. I tried to run the tests by the command below: nosetests-2.7 --tests=...

Specify browser version for Selenium nodes into docker-compose.yml

I am currently setting up a Selenium Grid through Docker, and more specifically via docker-compose. I am very new to those tools, so I apologize if the answer is obvious, but I couldn't solve it by ...

Providing path to Firefox/Chrome/IE installation in cygwin

I'm trying to launch Firefox remotely on a windows machine from UNIX box using remotewebdriver. I've tried by adding Firefox in the PATH as below: $ echo $PATH /cygdrive/c/Program Files (x86)/...

How to distribute the load efficiently with Selenium Grid

Business case : I am trying to automate a production flow to replace humans with automation.I receive many triggers from an application on a given day at various intervals and as soon as i get the ...

Selenium Grid node dropping/reconnecting every 30 seconds, Error: “DefaultRemoteProxy unknown version” in the console

I am trying to write some selenium grid (3.0.1) tests and using VirtualBox Windows VM's to test the framework. I can connect a hub to a node on the same machine (Mac or Windows, VM or real) with no ...

unable to create new remote session with remotewebdriver and gecko driver

I am trying to migrate to selenium 3, however I am having problems with creating new remote session here is my code below: protected RemoteWebDriver driver; @Test public void testing() ...

Possible to run x3 tests simultaneously on one node using the same Browser?

Possible to run x3 tests simultaneously on one node using the same browser? My test involves adding x1 to the basket. Is this even possible when cookies are involved because the same browser is being ...

JavaScript error (WARNING: The server did not provide any stacktrace information) On IE browser

My Automation scripts are getting braked on IE 11 Browser and getting this error while executing the script on multiple forks .Please help

Unable to launch firefox with selenium grid 3.0.1 gecko driver 0.11.1 firefox 50.0.1

trying to launch firefox with selenium grid is through org.openqa.selenium.sessionnotcreatedexception if(useRemoteWebDriver){ URL seleniumGridURL = new URL(System.getProperty("gridURL")); ...

What is default maxSession for the standalone role of a Selenium server?

For the node role of a selenium server, the default maxSession is 1. What is the default maxSession for the standalone role?

Selenium Grid: Unable to run Windows as HUB and MAC as node

I am trying to run the selenium code from windows in MAC machine and the test fails to run. Below is the code used in my frame to execute remotely. 'public Class BrowserHandler{ public ...

How do I get my Selenium Grid Hub log

I have a selenium grid2 set up on an AWS instance, and I was wondering if there's a way I could view the logs on my local machine? I understand I can visit: http://MyServerAddress/grid/console and ...

Remote web driver does not start - Selenium grid

I'm trying to run my selenium grid code on remote nodes but it always throw exception. hub : java -jar /home/bu/selenium-server-standalone-3.0.1.jar -role hub it will listen on 192.168.1.106:4444 ...

Selenium Grid - Run the same test on multiple nodes as different users

I want to test my web application by logging in parallel using multiple logins on different nodes and doing some basic UI checks. I know I can create separate tests using TestNG and run them in ...

Selenium grid routing to wrong nodes

I have the selenium grid 3.0.1 setup with a single hub and three nodes as follows: First Node: linux with Chrome and Firefox Second Node: Windows 10 with Chrome, Firefox, Edge and Internet Explorer ...

Running Selenium Tests using TestNG in parallel causes errors

I am building a selenium grid framework using two VM's as nodes (chrome in one, Firefox in the other). When I run my sample test in series, they work with no issues. When I run them in parallel, ...
Translating... 0%