Category "selenium"

Is there any ways to set "noReset" Appium capability only for one test?

I wanna compare the data between closing app and launching it again. If I don't set noReset capability to true all the data clear up, but I need this option onl

How can I find element by non-unique resousre-id?

I test an application which use non-unique resourse-id for elements. Is there any way to find such elements by xpath like //*[@resourse-id='non-unique-id'][2

How can I find element by non-unique resousre-id?

I test an application which use non-unique resourse-id for elements. Is there any way to find such elements by xpath like //*[@resourse-id='non-unique-id'][2

AttributeError: 'module' object has no attribute 'Firefox'

I am trying to use selenium webdriver to spawn an instance of Firefox. In the past, I was able to do this after installing geckodriver and making sure that it w

How do I get text from input text box in selenium?

I need to insert with selenium to text box and then get it to another use. how can I do this? The function getText() doesn't work.

How do I switch to the active tab in Selenium?

We developed a Chrome extension, and I want to test our extension with Selenium. I created a test, but the problem is that our extension opens a new tab when it

profile.assume_untrusted_certificate_issuer = false not working for me

Using watir-webdriver for automation I'm not able to handle Firefox "Untrusted Connection" . Already tried this: require 'watir-webdriver' profile = Selenium

Selenium tests error: WebDriverError: unknown error: net::ERR_CONNECTION

I'm trying to run selenium tests but I get this error: Error: WebDriverError: unknown error: net::ERR_CONNECTION_REFUSED (Session info: chrome=98.0.4758.102)

Cucumber cannot find StepDefinitions while running the code but manually using the option "Find Step" can find step definition

In the project Structure defined like below, src/main/java -- Config (RunCukesTest.java) -- StepDefinitions src/test/resources -- features/login When I run fro

Unable to fetch data from test rail using java

I am using the API provided by Test rail to pull info using java. Below is my program. APIClient client = new APIClient("https://test.testrail.net/index.php?/r

Unable to fetch data from test rail using java

I am using the API provided by Test rail to pull info using java. Below is my program. APIClient client = new APIClient("https://test.testrail.net/index.php?/r

How to get the response content in selenium?

When I open the URL with driver.get(url), how can I get the response content of the page? Please refer to the image for more information.

How to get the response content in selenium?

When I open the URL with driver.get(url), how can I get the response content of the page? Please refer to the image for more information.

Display errors in JUnit failure trace

I use Selenium Web Driver in Eclipse with JUnit. I need create simple checking if some text exists on the page - if it is, than I need generate error. I want th

Get cookies from selenium session

I want to get session variable and cookies after login. i have used selenium webdriver and successfully login. but how to get session and cookies after login in

Undefined steps in cucumber

After running my test, Cucumber says my step is undefined. Did I do something wrong? Feature: Then I should see Error message for "ORIGIN" zipcode with key &l

Python. Selenium. How to wait for new window opens?

I have a button with twitter, and after click new window opens, but before opening there is a timout in few seconds, so is there a way to wait for it? I mait in

python selenium: unable to locate element, svg-icon button inside shadow-root

I'm new in selenium and trying to click icon button. I've used find_element_by_xpath, class_name, or by_id but it always returned an error message: Message: no

{WebElement}.getAttribute("value") returns 0

I am interacting with an element within a webpage: <li class="MuiButtonBase-root MuiListItem-root MuiMenuItem-root jss524 MuiMenuItem-gutters jss525 MuiListI

WhatsApp Web Automation with Python Selenium (unable to locate element)

I am using python and selenium to send a message to a target. I can successfully open whatsapp web but after that I cannot open the inbox of the contact to who