Questions tagged [selenium-webdriver]

Used for questions about using Selenium WebDriver, a browser automation framework frequently used to automate testing in a browser.

558 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
62 views

Is it possible to have different logger paths per cucumber features or scenarios?

So I'm using selenium with cucumber and right now and run my tests sequentially, at the end of the execution I collect the log and the prints. My question is, once I start executing them in parallel, ...
Rodolfo Damiani Albuquerque's user avatar
2 votes
1 answer
212 views

How do we generate load in the queue using selenium?

We are trying to generate videos (video streaming via Youtube URL's) in the queue. Some of the users will be watching the videos in FIFO Format so we would like to know the process where we can push ...
venki's user avatar
  • 21
2 votes
1 answer
632 views

unable to run test cases in IE browser in protractor, selenium framework for angular.js web application

I was trying to execute test cases in IE, and I'm facing errors as shown in error picture, my config file is shown below. Using IE 11.09 with Selenium WebDriver-4.0.0 in Windows Server 2012 R2 ...
Akshay's user avatar
  • 21
2 votes
1 answer
64 views

How to implement seleniums LoadableComponent with a fluent API?

How do we implement LoadableComponent, when we have a fluent API, lets create a basic set of classes, shown below: public class LoginPage { // @FindBy locators public DashboardPage login(...
simonk's user avatar
  • 21
2 votes
1 answer
1k views

Selenium Chrome Driver: How to Load all the Frames and get the Complete Page Source?

I'm developing an web application that monitor changes in other websites. I came across some of the websites and that contain load of Frame set and Frames. I'm using the below code: var ...
Heveen Kejiou's user avatar
2 votes
0 answers
1k views

Selenium running Firefox instead of IE or Edge

I am trying to get Nightwatchjs tests running with Chrome, Firefox, IE, Edge, and mobile web browsers (iOS, Android, etc). I'm having difficulty getting Selenium to open up a non-Firefox browser. ...
Zach Folwick's user avatar
2 votes
4 answers
2k views

Gecko Driver not navigating to URL

i am having a funny issue with my gecko driver. The browser loads however it does not redirect to the URL as stated below. Dim fireDriver As New FireFoxDriver(New FireFoxOptions() With {....
Grant's user avatar
  • 21
2 votes
0 answers
46 views

JQuery Not working after updating NUNIT to 3.7

I have used to find an element using jQuery select0r. This is how am trying to find out the element. var linkDom = new DomElement(DomElementType.JQuerySelector, string.Format("{0} a:icontains(\"{1}\")...
Ajeesh's user avatar
  • 61
2 votes
0 answers
550 views

Unable to locate the elements of SmartGWT application using Selenium in IE browser

I'm testing a GWT + SMARTGWT application and I'm trying to locate the elements of this web application using Selenium Webdriver. The method which I have used to locate the elements is by the relative ...
KhiladiBhaiyya's user avatar
2 votes
0 answers
4k views

Data driven using xml file in java selenium

I have already used the data driven approach and executed the test cases using excel file. I mean the data is extracted from excel file. Now I want to extract the data from xml file and execute the ...
Pratiksha's user avatar
2 votes
0 answers
106 views

Selenium IDE Firefox: how to find different divs with specific content?

I have a test case where I need to check if follow feature works correctly. It is quite tricky because in app there is three different types of accounts based on user's activity and it is reflected in ...
Rysiek's user avatar
  • 21
2 votes
0 answers
317 views

Change label in webpage using jscriptexecutor of selenium

We have an AUT a web application which is in Japanese. We are trying to follow below approach (not sure if it is correct) to get the Japanese label text into English. Approach (using Selenium): Open ...
MKay's user avatar
  • 225
2 votes
3 answers
880 views

Close a one windowHandler at the Webview

I am writing scripts to automate a hybrid application. On my app I have two windowHandles. For example, after performing some actions when I execute below code I get "2" windows as the windowHandles ...
ChathuD's user avatar
  • 2,139
2 votes
0 answers
757 views

Selenium Virtual Frame Buffer on Windows

I have a requirement to run a process that itself requires the functionality of the Firefox browser. Currently, I run this process on a laptop, so having Firefox running is not a problem. However, ...
MoonKnight's user avatar
2 votes
1 answer
143 views

GUI Testing Angular SPA?

Developer here. Our QA team is researching new strategies for E2E testing for a new product. To start, it will be an Angular SPA, and eventually a PWA. They are leaning towards using Quantum / ...
Jacob Ensor's user avatar
2 votes
3 answers
4k views

Selecting element value from drop down list with selenium using POM

I'm trying to make a simple test to register in website - https://www.midomi.com/. I'm using c# and selenium but have stuck in selecting values from a dropdown list using Page object model. My project ...
larion's user avatar
  • 19
2 votes
1 answer
516 views

unable to move to button with selenium webdriver

Hi I am trying to write test script using selenium webdriver to log in to ms dynamics free trial registration @ https://www.microsoft.com/en-us/dynamics/free-crm-trial.aspx I am stuck at one of pages ...
gayatri's user avatar
  • 31
2 votes
1 answer
267 views

Clicking on java script generated dynamic elements using Remote Web Driver in selenium

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but ...
QAMember's user avatar
  • 1,520
2 votes
1 answer
5k views

Using Protractor Cucumber JS: When running a test, the test passes when it shouldn't

I'm writing a test where I should log in. It passed given the proper inputs but when I change its password/username to garbage, it still passes. I'm new to this and I really think I missed something ...
Marianne's user avatar
2 votes
1 answer
1k views

Selenium Webdriver runs in root but not in non-root account

I have this problem that when I run in root account it works properly with the test cases returning as expected. But in a non-root account it keeps giving me an error. Thanks in advance if you are ...
Cheng's user avatar
  • 21
1 vote
1 answer
59 views

how to find project to contribute as automation tester?

I'm manual QA with 3 years of experience. At the same time I've learnt some automation and wrote autotests on java for selenium-based framework on the previous job. I decided to get more knowledge of ...
domagile's user avatar
1 vote
1 answer
14 views

Every Vusers should pick new file

Vusers- 10, Files -250 ,Duration - 3600 Target is to upload 250 Files and file names is Payroll0, Payroll1 ,Payroll2, Payroll3,....Payroll247, Payroll248,Payroll249, Payroll250. Using JMeter Selenium ...
Bhaskara Reddy Dwarampudi's user avatar
1 vote
1 answer
137 views

CPU issues after upgrade to Selenium V4.11.0

After using selenium 4.11.0 version and launch error for 116 browser launch error was resolved. Has anyone observed Maximum CPU utilization issue after changing to selenium 4.11.0? I was using ...
Likitha Hs's user avatar
1 vote
2 answers
534 views

How to click on the list when it said the list has no attribute "click"?

from selenium import webdriver import time from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from ...
Carl Carl's user avatar
1 vote
1 answer
3k views

downloading file using python

I want to examine a button that leads to downloading a file. the HTML contains: <a class="calibre-push-button " href="/calibre/get/EPUB/123/calibre" role="button" ...
AvidLearner's user avatar
1 vote
0 answers
38 views

How to handle the google adds Window which display over the page

Add Pop Up coming when run the test suite and other operations where failed I tried to click directly on close button with x-path but it not work
Sushrut Parab's user avatar
1 vote
3 answers
194 views

Window handling in java selenium

Successfully handled the child window in java selenium but the cursor is not moving forward to the password field. My code is below package perfect; //import java.util.Set; import org.openqa....
Bug Hunter's user avatar
1 vote
1 answer
600 views

Is it a good design to use a single Webdriver instance in Base Class and then each Page Object class inherits the driver instance in Cucumber Steps?

Im using Cucumber BDD framework with Selenium+Java. Now, I have made on BaseClass.Java in which i declare on public static WebDriver driver; Now, in my .feature file i have many scenarios and in each ...
matt938's user avatar
  • 11
1 vote
0 answers
301 views

Selenium + C# : How to add list value in cookies?

This is my code: IList<IWebElement> program = driver.FindElements(By.XPath("//*[@id='PnlGAPAncillaryPrograms']/table[2]/tbody/tr[1]/td/table/tbody/tr/td[2]")); driver.Manage()....
user51770's user avatar
1 vote
2 answers
444 views

Parallel selenium UI test failure rate has increase when compared to sequential execution

Recently I have implemented parallel selenium UI test execution by increasing Jenkins node count and creating multiple Jenkins jobs with different regression.xml files pointing to them. In a nutshell ...
ChathuD's user avatar
  • 2,139
1 vote
0 answers
677 views

DOCKER org.openqa.selenium.remote.UnreachableBrowserException on Jenkins

I can run every test locally just fine if I run my test on jenkins, on a docker file, I get this error org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible ...
thomarkey's user avatar
1 vote
3 answers
2k views

Selenium - Click on button in the last row of the table

I have the below script where I have taken the list of WebElement of the number of rows and subtracted with and then click on the Add button. But the problem over here is - script clicking on the Add ...
jay m's user avatar
  • 61
1 vote
2 answers
164 views

Selenium Java best practices for handling different languages and locations, and setting dynamic architecture

Im currently working on a platform that has multi-language options and also the language is defined by IP. So Im trying to build an architecture for testing both scenarios dynamically... The domain is ...
Miki Minoski's user avatar
1 vote
2 answers
836 views

On selecting the radio button how to get the text of the selected radio button where the text is in the next column

On selecting the radio button how to get the text of the selected radio button where the text is in the next column I randomly select the radio button and then i need to Store the selected Radio ...
jay m's user avatar
  • 61
1 vote
0 answers
104 views

how to select the id that is just added and take that id and use it in another screen

My Scenario: I need to create a Demand. After creation the Id of the Demand will be autogenerated I need to fetch that id and use it in another screen Question: While I created the Demand and try to ...
jay m's user avatar
  • 61
1 vote
0 answers
406 views

Selenium- Parallel test case using testng not working correctly. The same working fine in sequential mode

The driver instance initializes as Threadsafe. Till the launching of the browser and pass the URL everything seems to be working. But the credentials passing on anyone's browser, instead of all ...
Niks 's user avatar
1 vote
1 answer
740 views

Unable to run test on gitlab pipeline due to DevToolsActivePort file doesn't exist

I created a sample Selenium Webdriver test using java and maven and pushed it out to my gitlab repository. Then I created a new pipeline to run the automated tests. This is my first time running a ...
na2193's user avatar
  • 13
1 vote
0 answers
71 views

Mac running out of space after several UI automation runs

I am running UI automation locally using selenium webdriver, chromedriver, and jest, on MacOS. After several runs I run out of local storage. You can watch storage decrease by about 50 gb every run. ...
Scott Brass's user avatar
1 vote
0 answers
1k views

How to perform mouse hover in selenium java using page object model approach?

I have automated some test cases mentioned at https://www.techlistic.com/2019/08/automate-buy-product-using-selenium.html For second test case mentioned at given link, I have written code for mouse ...
Atif Iqbal's user avatar
1 vote
0 answers
124 views

Protractor file upload hanging after send keys on IE11. Works on Chrome/Firefox

I have a Protractor/Cucumber script, that successfully uploads a file on Chrome/Firefox. When I run the same script on IE11, then the website hangs with the file dialog box open and no file sent. The ...
Devin Patrick Ashcraft's user avatar
1 vote
0 answers
472 views

How do I handle Chrome Autofill using Selenium Python?

I encountered an issue using the chrome autofill option. There is any way to handle the options list? (please see the image) What I've done: Load my Chrome Profile Launch Chrome with my loaded ...
Gabriel's user avatar
  • 11
1 vote
0 answers
95 views

NullPointerException-webdriver null

I put a screenshot with getDriverInstance. After run. When I run the test, I get this error. At debug it tells me, that the WebDriver is null. Can anyone help me with a solution how to fix the ...
Sebastian's user avatar
1 vote
0 answers
1k views

Automated testing Chrome with selenium and java returns: Failed to create Chrome process

When trying to run Selenium on Windows 10 Chrome version 90, I am getting the following error: org.openqa.selenium.WebDriverException: unknown error: Failed to create Chrome process. Driver info: ...
Annie's user avatar
  • 11
1 vote
0 answers
253 views

Selenium if else command with Element check to get response

I am running a selenium script on a web page. When the page shows a text I want the script to continue the loop. But when that text is missing I want the script to wait for X seconds before continuing ...
racydex's user avatar
  • 11
1 vote
0 answers
52 views

Selenium ide Java generated code does not scroll

I am trying to automate a test suite by using selenium IDE, the idea its to generate the tests with the IDE and then export them to a java/jUnit format. The problem its that the the tests generated in ...
andres tamayo's user avatar
1 vote
0 answers
92 views

Integration testing of web application with asynchronous "jobs"

A web application I'm developing essentially serves to queue up jobs which are processed on another server. Depending on the load, that could be anywhere from 5 minutes to 2 hours later before the ...
neurosis737's user avatar

1
2
3 4 5
12