Questions tagged [selenium-webdriver]

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

438 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
512 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 ...
2
votes
0answers
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 ...
2
votes
0answers
102 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 ...
2
votes
0answers
187 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 ...
2
votes
2answers
545 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 ...
2
votes
0answers
679 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, ...
2
votes
1answer
70 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 / ...
2
votes
3answers
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 ...
2
votes
1answer
475 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 ...
2
votes
3answers
1k views

How to get Selenium 3.0.1 to work on a Mac with IntelliJ

I am using a Mac as well as IntelliJ. I am trying to update Selenium from 2.53 as the website I am testing has functions that no longer work with older versions of Firefox (version 46). I am trying to ...
2
votes
1answer
253 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 ...
2
votes
1answer
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 ...
2
votes
1answer
811 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 ...
1
vote
0answers
88 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: ...
1
vote
0answers
40 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 ...
1
vote
0answers
40 views

How we run selenium script in mobile devices?

I want to run a selenium script on mobile devices. for this purpose, I am using the Browserstack website. now the problem is I have written a script it runs in browser invocation right .but when I run ...
1
vote
0answers
45 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 ...
1
vote
0answers
69 views

selenium initial connect timeout

How do I tell selenium webdriver to retry/timeout when I start a session? I'm spinning up a remote standalone java server (aka hub) as a process I'm immediately going webdriver.Remote() and that ...
1
vote
0answers
38 views

Is each Scenario in Cucumber BDD framework considered a separate .Java Class by JVM?

When I write Cucumber scenario's like:- User.java Feature File Scenario: Add a new user profile Given User is on the Add user profile page When user enters profile information and clicks ...
1
vote
0answers
57 views

Automate Microsoft’s authentication needing a certificate using selenium in a pipeline?

I am trying to run some scripts in a website using webdriverio, this site uses Microsoft’s login authentication in order to access the website, in my local it usually asks me to login not only with ...
1
vote
2answers
278 views

Unable to click on “Add Payment Method” button on Google Pay site

I am trying to click on "Add payment method" button under Payment Methods tab using selenium - https://pay.google.com/gp/w/home/paymentmethods Tried using xpath, className and cssSelector but looks ...
1
vote
0answers
65 views

How to get the AJAX request using the Selenium Webdriver in jmeter?

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, the reporting is fine i.e. showing for each User and URL but I want to also show the ...
1
vote
0answers
28 views

Not able to click button on wordpress form

My HTML <button type="button" class="button media-button button-primary button-large media-button-select">Select File</button> My Selenium Java code Thread.sleep(1000); ...
1
vote
0answers
15 views

Integrating Firebase deployment and github repo with selenium tests

I have been writing UI tests with Selenium for my friend's web app that's hosted on Google's Firebase. I was wondering if there's any way to integrate my existing test repository (maven project on ...
1
vote
0answers
150 views

There is a way to identify font type in an Android app? (Python, Appium)

Here is the deal: i'm testing an android app and the client wants us to test font types, sizes and colors. Using Appium's explorer i'm able to see the objects properties (such us: text, enabled, etc) ...
1
vote
0answers
41 views

Could I improve my code by opening multiple tabs?

I'm trying to scrape information from an array of links using selenium. Each of them take ~2 seconds to scrape, and it adds up to quite a while. Is it possible / worth trying to open the links in ...
1
vote
0answers
123 views

Sort rows in a dragable table by order selenium python

I have a html Link to html http://threedonthemap.s3-website.ap-south-1.amazonaws.com/ <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name=...
1
vote
0answers
192 views

How to automate Handsontable using Selenium WebDriver (Java)

I want to automate the Handontable using Selenium WebDriver using Java. Basically, I want to enter data in the handontable using selenium(Java). Is there any way available to enter data in the table. ...
1
vote
1answer
1k views

How to select a dropdown value in Selenium WebDriver using Java appium?

I am new to Selenium, currently am working on selenium webdriver. I want to select a value from the drop-down. But I am not able to do it because of some error. Also, I want to inform you that in my ...
1
vote
1answer
686 views

Automating a desktop app based on Chromium Embedded Framework using Selenium

Background: At work we are passing the --remote-debugging-port=9555 parameter to a CEF based desktop app and launching it using Runtime.getRuntime.exec("path to app"). Then, using selenium, we open an ...
1
vote
2answers
2k views

How to bring elements to view automatically in Protractor or selenium

I have a webpage to be tested which has a button at the footer of the page. When i click it, there should be an error message shown near to it. I was successful in automating this scenario but the ...
1
vote
1answer
3k views

Access is Denied Issue thrown at ChromeDriver Initiation step

Azure DevOps is triggering and running tests on a VM. All my tests are working fine on local machine. On VM, While trying to launch Chrome browser using ChromeDriver and WebDriverManager, tests are ...
1
vote
1answer
2k views

Headless Chrome browser won't switch to next window (Selenium + Python)

So I have a test case: When clicking a button a new window is opened. To switch to that new window I use: window_after = self.driver.window_handles[1] self.driver.switch_to.window(window_after) When ...
1
vote
1answer
79 views

IE 11 auto accepts the alert pop up

So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying: ...
1
vote
0answers
70 views

Issue with switching to the new window in Selenium + Python (chromedriver)

I'm having an issue when I try to switch the new opened window. Every time I execute a test case, my chromedriver opens with a window named "data:,". My code: def test_case(self): reg = Register(...
1
vote
1answer
1k views

Selenium WebDriver document.getElementById instead of send_keys

I have the following code driver.find_element_by_id("Element_ID").send_keys(str(sheet.cell(row=r, column=2).value)) Values is taken from excel, but instead send_keys, I want to use document....
1
vote
0answers
55 views

Issue with parallel testing in pytest

So I have two test cases in a map. From command prompt I type "pytest -n 2" then hit Enter. Instead of opening two browsers and execute them in parallel, pytest is opening 4 browsers, but only two of ...
1
vote
1answer
388 views

How can I enable variations in Chrome from chromedriver options?

How can I enable variations in Chrome from chromedriver options? Hello, I'm facing a problem with Chrome where when I run an automated UI test with chromedriver, there's issues showing up (such as ...
1
vote
1answer
91 views

Which language has more libraries and bindings for Selenium WebDriver? Java or Python?

This question might sound repeated. I have searched Stack exchange and found many questions by users who ask mainly on which language they should choose for Selenium WD: Java or Python? But their ...
1
vote
0answers
225 views

How can i use an existing existing chrome browser instance in selenium C#

How do I use an existing chrome browser in selenium C# ? Currently I have the following but it always creates a new window SessionId sessionId = new SessionId(""); var driver = new phantomJSDriver();...
1
vote
1answer
79 views

Azure Access to Internal Selenium Server

Asking those network people smarter than me....We are currently testing out DevOps but one thing that I can't do is have MSTest hit our internal server (which is housed in Azure) that contains ...
1
vote
0answers
315 views

JMeter Selenium Browser not opening up new tab

I am executing my Jmeter test with Selenium and once I click on an Analysis link, it ideally opens up in a new tab on the same browser window. However, If I am click on the link using Jmeter Selenium, ...
1
vote
3answers
459 views

How to get XPath for the text after the <b> tags

I Need to get XPath for the following, to get the text after the <b> tags <li class="SpacedOut"> <b>Name 6:</b> "ABC" <b>Name 1:</b> "BCD" <b>Name ...
1
vote
1answer
601 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... 1) Recorded steps using Selenium IDE 2) Then I export it (".side" file) into a java(junit 4) file. 3) Created a maven project and added the ...
1
vote
1answer
142 views

Selenium WebDriver gives the same window handle across multiple Firefox browser sessions

We use different profiles to test different features of our system. If we open new multiple FF sessions (each with it's own profile), Selenium Webdriver only uses 1 window handle identifier. (pseudo ...

1
2
3 4 5
9