Category "selenium"

Selenium Can't locate the element while trying to click

I was scraping fembed just as a personal project but I kept running into errors.For getting the streaming url I needed to click the get the request through sele

What is a Selenium wrapper?

Does it wrap around Selenium and provide a simpler or different method of invoking the functionality of Selenium? I looked it up on Google and the best informat

How to install custom extension to headless Firefox in Linux?

Automated tests with Selenium are awesome, but how to do them on headless Firefox with a pre-installed extension? I found this for Chrome, but nothing for Fir

How to get request headers in Selenium

https://www.sahibinden.com/en If you open it incognito window and check headers in Fiddler then these are the two main headers you get: When I click the las

WebDriverException: no chrome binary at /usr/bin/google-chrome-stable or chrome binary not found

I am executing selenium test via Jenkins server in AWS Ubuntu. I was getting chrome binary not found error so I set chrome binary in my code. System.setPrope

How to maximize Headless Chrome window in Robot Framework?

I'm not able to start Headless chrome with a maximized window. I tried two solutions but none of them worked for me. First solution : Open Browser ${LOGIN_

Could not find or load main class org.testng.remote.RemoteTestNG - in Eclipse

I've tried to update Selenium webdriver version and now i cant run my tests because of following exception: Error: Could not find or load main class org.t

How to get attribute of element from Selenium?

I'm working with Selenium in Python. I would like to get the .val() of a <select> element and check that it is what I expect. This is my code: def test_

Python Selenium - I'm trying to use pytest framework , running into errors

from selenium import webdriver from selenium.webdriver.common.by import By from commonPages.LoginPage import LoginPage from util.InitialSetUp import InitSetup

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