My setup involves two grids: I have a local grid setup where the hub and nodes run on my local machine, connected to network#1 Additionally, I have a VM grid setup where the hub and nodes are running in a virtual machine, connected to network#2 When ...
Hey there, I'm currently trying to utilize WebDriver extensions for selenium. Unfortunately, I've hit a roadblock when it comes to uploading a file. Locally, I can upload the file using robot by doing something like this: robot.keyPress(KeyEvent.VK_ENTER); ...
My current setup involves running Selenium 2.0b4dev on Selenium Grid in Ubuntu 10.04, using Python code to create test cases. I've encountered an issue with setting up basic HTTP authentication for a specific site. After a quick search online, I disco ...
Currently, I am faced with the task of automating an application on a Windows machine. Upon clicking a specific button, a window popup is triggered which allows me to either select a file or input a path. The upload functionality is operational using the ...
Currently, I am in the process of setting up my testing environment using Jenkins, Selenium, and Protractor. To efficiently distribute tests across remote machines (nodes), I have opted to utilize the selenium-plugin (selenium grid). The initial progress i ...
Before proceeding with a parallel test, I want to confirm whether running a selenium test case on 5 Firefox browsers on the same machine is possible. Currently, only a single browser is being created. Below is the command I used to create the nodes: jav ...
Using selenium-server-standalone-2.18.0.jar. Configured the hub and node on the same host. Executing the client code on a separate host. Observing in the hub console, I notice that one of the nodes has connected with 5 firefox icons. Upon running my clien ...
Currently, I am utilizing selenium with selenium-server-standalone-3.4.0 and geckodriver-v0.18.0-win64 for executing selenium grid tests. Even though I have configured system.setProperty("webdriver.gecko.driver","path to firefox binary"), I keep encounter ...
I've been working on setting up browser testing using selenium and docker with behat. One major challenge I'm facing is the inconsistency in running the tests smoothly. Sometimes everything works perfectly, but most of the time I encounter connectivity i ...
@BeforeTest @Parameters({"selenium.host", "selenium.port", "selenium.browser", "selenium.url" }) public void startServer(String host, String port, String browser, String url) throws Exception { selenium = new DefaultSelenium(host, Integer.par ...
I'm currently conducting a test on the Lufthansa website using a Selenium webdriver. I encountered an issue where the "FROM" field is pre-filled with the value "Casablanca", and despite clearing it, it automatically reverts back to "Casablanca" when clic ...
I am in search of a way to create a central 'hub' for Selenium within my workplace so that every employee can easily access it. For example, if Tester A writes test scripts, Person B should be able to run them without manually transferring the scripts to t ...
Is it possible to execute the Appium Mobile automation script from one main/coding machine to another machine that has a connected device? I am interested in learning about the required software and prerequisites for running the code on a different machin ...
I am in charge of managing a Selenium Grid and I need to find a way to remove or unregister a node from the Grid using a command line or similar method. Unfortunately, I do not have direct access to the PC that is registered as a selenium Node, but I can s ...
Launching a selenium grid hub using the default startup command: java -jar selenium-server-standalone-2.33.0.jar -role hub Also, initiating PhantomJS in its webdriver mode on the same machine with the following command: phantomjs --webdriver=8080 --web ...
My journey began with the following commands: Hub Command: java -jar selenium-server-standalone-3.141.59.jar -role hub Node Command: java -Dwebdriver.chrome.driver="Users achitamittaleclipse-workspacefirstjavaprojectdriverschromedriver.exe" -jar se ...
I have developed a unique webdriver specifically for a customized browser by extending RemoteWebDriver. It functions well when used independently by creating an instance of the driver. However, my goal is to integrate this custom web driver with Selenium ...
I manage a large Selenium Grid and I'm aiming for maximum uptime. Currently, my only weak point is the Hub - if it fails, the entire Grid goes down. I want to implement a backup system for redundancy. I'm interested in hearing about different st ...
We are currently utilizing Selenium BDD scenarios on a Selenium Grid with Chrome browsers and Windows operating systems for the node machines. One of our scenarios involves uploading multiple files to a webpage. Here is the code I am using for remote execu ...
Currently, I am utilizing selenium grid with docker compose to target various browser versions through desired capabilities. However, I have a need to test multiple browser versions and it would be more convenient if I could specify just the main version n ...
I have successfully set up my selenium grid with appium and created drivers for two different android devices - d1 and d2. Now, I am looking to maintain synchronization between them. This means that the driver should perform operations using d1 and then sw ...
I am currently working with a selenium grid that has the following configuration: { "port": 4444, "newSessionWaitTimeout": 2000 } There are also 2 nodes that use this configuration: { "capabilities": [{ "browserName": "chrome", "platform": ...
Currently facing an issue while setting up selenium 4 grid using the docker-compose file provided below. The error message "Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure" is being encoun ...
Recently, I encountered an issue while trying to send a long string of characters (100-4000 characters) using the sendKeys function in Selenium grid running in parallel. The process was breaking midway and throwing the following exception. Has anyone else ...
I encountered an issue where using Actions resulted in an unsupportedCommandException. I attempted the following: Actions action = new Actions(driver); action.moveToElement(element).build().perform(); driver.findElement(By.linkText("All Actions")).click( ...
Currently, I am in the process of conducting tests on a website that is expected to send data to an installed program. To streamline this process, my plan involves utilizing Selenium grid to execute the script across multiple virtual machines. This will e ...
Encountered an error while trying to run Selenium using Jenkins: org.openqa.selenium.SessionNotCreatedException: Could not initiate a new session. Issue arose during session creation with the driver service, leading to service stoppage. Response code 500. ...
After setting up a Selenium standalone Firefox docker container and starting the session on Host port:4545 using command docker run -d -p 4545:4444 --shm-size 2g selenium/standalone-firefox:3.141.59, I verified its functionality by accessing http://localho ...
I'm currently in the process of configuring a Selenium Grid for remote automated testing, and encountering an issue when trying to initiate a test on a Microsoft Edge node. To set up my node on a dedicated test machine, I utilized the following comma ...
The challenge at hand: I am looking to implement Selenium Grid on AWS and leverage their dynamic scaling feature. However, the issue arises during scale down when instances are terminated abruptly, potentially causing nodes to disappear suddenly. This is ...
Having just started diving into Selenium testing, I find myself pondering about browser agents. I've crafted a script that demands testing on IE8 on XP, as well as IE8 and IE9 on Windows 7. While I understand how to define the browser version, I&apos ...
I'm attempting to perform integration tests on a local host (without HTTPS) using Selenium with ChromeDriver. Chrome insists on an HTTPS certificate, but I discovered from this question that I can bypass this requirement by using the argument --ignore-cer ...
From my understanding, grid allows us to distribute tests across multiple nodes. For example, if I have 4 test cases and 2 nodes (both with the same configuration of platform: Windows, browser: Firefox, maxSession=1, maxInstances:1), I would expect 2 test ...
I have been researching how to set up this process, but so far I haven't found much information. It seems like a simple idea, so I'm confident there must be a solution out there somewhere. I am familiar with running Protractor on different brows ...
While using Mac OS Sierra (10.12.5), I encountered an issue when starting the selenium server with a hub role from the command line: java -jar selenium-server-standalone-3.4.0.jar -role hub Upon opening the grid console at http://localhost:4444/grid/con ...
I'm facing some challenges when trying to run Webdriver on a specific hub in headless mode using Pyvirtualdisplay. The generic code below works without any issues: class TestHub4444TestClass01(unittest.TestCase): def setUp(self): self.display ...
I have configured a Hub-Node setup for Selenium RemoteWebDriver. The commands I run on the Windows 7 command prompt are as follows: Hub: java -jar selenium-server-standalone-2.32.0.jar -role hub Node: java -jar selenium-server-standalone-2.32.0.jar -role ...
I have a specific setup in my /etc/rc.local file that includes running Xvfb and launching a Selenium server on specified ports. Xvfb :99 -screen 0 1024x768x24 -ac 2>&1 >/dev/null & export DISPLAY=:99 java -jar /home/ubuntu/selenium-server-st ...
I am looking to combine the functionalities of ChromeDriverService with either chromeOptions or DesiredCapabilities in order to run the browser in xvfb. Below is a snippet of code related to ChromeDriverService that I had previously used without selenium ...
My computer has a local IP address of 192.168.1.x running Windows 7. Additionally, I have set up a VM with NAT IP 10.0.2.15 and a host-only IP of 192.168.70.64 also running Windows 7. The setup for my hub is quite simple: java -jar selenium-server-standal ...
Is there a limit of nodes on the same machine in Selenium Grid? I need to run 500 test suites in parallel and I am debating whether to set up a hub with 25 nodes, each with a maximum of 20 Firefox browsers on the same machine. Or should I opt for virtual ...
Can Selenium Hub be utilized with an Internet Explorer node? I have successfully used Selenium Hub with Firefox and Chrome nodes using Docker and Kubernetes with the images available at . However, I cannot find an Internet Explorer image on Selenium' ...
Looking for a way to test my web application in various browsers and environments, such as Chrome, Firefox, and Internet Explorer on Windows and Linux (except for Internet Explorer). The tests have been developed in Java using JBehave, Selenium, and Seren ...
Summary: I have set up Selenium hub on my Mac and launched two browsers, but the test only runs in one. What could be causing this issue? I recently installed Selenium hub on my Mac running OS X 10.11.5 using the instructions from this link. After install ...
During one of my test cases, I encountered a situation where I needed to input keystrokes into a windows dialog that appeared. While I was able to successfully accomplish this using the Java robot class when running tests locally, I faced an issue when exe ...
My goal is to execute my Selenium test using selenium grid. To achieve this, I have set up the hub on my local Ubuntu machine and a node on a Centos VM. I ran the following commands: java -jar selenium-server-standalone-3.141.59.jar -role hub (on local ma ...
Currently, I am working with a Selenium test suite that utilizes the IEDriver and is executed using TestNG. The main objective is to use this test suite for regression testing. My aim is to run this test suite against all of our production servers. Present ...