Category "selenium"

How to open new URL in the same tab with Selenium, but with some way with editing the URL?

I want to open a new URL in the same tab in Selenium, but I need to somehow edit the URL. What working options are there? I am thinking about navigating by keys

Trouble modifying the language option in selenium python bindings

I've created a script in python in combination with selenium to scrape different app names from google play store and they all are coming through when I execute

How to locate random id generated by a modal?

I was testing my website using RF. The problem is, every time the modal is opened, a different id(locator) will be set on the textbox that I want to input my te

Python selenium : Explicitly wait for one of two elements to be loaded

Is there a way using which I can wait for one of two elements to get loaded in selenium. I am using explicit waits and so far, haven't been able to figure out t

Data Validation. Data is different from Remote browser vs Local Browser

I am facing issue at work. In our QA Automation we use Jenkins to execute test cases, Jenkins will use remote browser, I am able to watch remote browser through

Eclipse TestNG java.lang.AssertionError

My code works, TestNG works, I got results as expected, but this error appears at the end of TestNG results: Error code: java.lang.AssertionError: Couldn't fin

Why remove QA IDs from the code base in production

In a React application that we are developing we use QA IDs for Selenium tests. Is it bad practice to leave them in the code base in production (live)? If so,

Actions Selenium Java mouse action drag and drop not working when cursor type changes after clickandhold

Actions Selenium Java mouse action drag and drop not working when cursor type changes after clickandhold Use case: Mouse cursor type: Pointer Move to source ele

How to store List of Elements which are present in multiple Page?

There is a button called "Responses" total number of button is 100 which are store in 2 different webpages, from 1st page to 2nd page navigation button called "

safardriver closes automatically before driver.close() is called in @Aftermethod

I'm running below test scripts in safari browser version 5.1.7 on windows 7. After running @test method I'm calling driver.quit() in @aftermethod. But safari b

How to Uplod a File using Selenium Webdriver using pycharm

enter image description hereWhen I am uploading a file in pycharm I'm getting the below error here is my code line for uploading the file upload_file = WebDrive

Extent Reports won't provide the report for me

I'm trying to provide a report for a simple QA Method but the code wont generate any report for me, please help! namespace CasinoClubTests { [TestFixture]

How to create tests for kana (katakana/hiragana) using selenoid?

We want to write e2e tests for the Katakana method using Selenoid. But how we can realize it? There is should be exactly Latin input that converts into Katakana

Unable to launch the zalenium dashboard

currently I am working on Linux elgalu/selenium and dosel/zalenium images are successfully pulled but while running the images by using below command # Ru

Create Selenium Webdriver once and use in Cucumber's all steps

I've experience in Back-End automation testing, but I'm new to Front-End. I've created BDD format tests for a website and now I want to automate it. I decided t

How to specify print location for PDF printing with Selenium

Whatever I do, the files keep getting printed into my Downloads (Windows default) folder, rather than specified folder. I did my research and apparently the sav

How to get Selenium C# control names for reporting

I'm wanting to report a line every time my selenium based automation framework clicks on a control. My object repository is storing individual controls like thi

How does XUnit RetryFact attribute works?

I have Selenium tests which are run by XUnit. I write tests on c#. Some of the tests are not stable (especially those which uses mouse actions). I found the Ret

sendKeys() does not pass the character "@"

I am using selenium 3.6.0. and I run some basic test (login to the Stackoverflow page). But, when I am sending email, character "@" is not passed. Instead of it

sendKeys() does not pass the character "@"

I am using selenium 3.6.0. and I run some basic test (login to the Stackoverflow page). But, when I am sending email, character "@" is not passed. Instead of it