Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 98784 articles
Browse latest View live
↧

Not able to select dropdown values using selenium Java

I am new to automation and currently exploring selenium Java for my application Trying to automate a web application with selenium Java.I have looked online and can only find answers if the dropdown...

View Article


Unable to set cookies in Selenium Webdriver even after going to domain url

I'm trying to add cookies to a link after I open it with webdriver but it keeps giving me UnableToSetCookieException

View Article


Allure without maven

I have implemented allure by adding its jar to my standalone selenium project which does not use any build tool. Now my test cases ran successfully but I am not sure how to get the allure report after...

View Article

selenium.common.exceptions.ElementClickInterceptedException: Message: element...

I am currently working on a project which fills a form automatically. And the next button appears when the form is filled, that's why it gives me an error. I have tried:WebDriverWait(driver,...

View Article

Selected LinkedIn profiles not loading completely in Selenium using Python

I have written a code to fetch LinkedIn profile details but sometimes the entire HTML is not loaded for some user profiles.I have already used the classic wait mechanisms i.e.driver.implicitly_wait(10)...

View Article


Python Selenium - replacing the location['x'] value within an iteration...

in order to automize some tasks in the browser with Selenium I need to identify a certain field on a website and click it. Because the values I'm using to identify the correct field can be displayed...

View Article

how do I locate the btn by class name?

I have this html code: <button class="_2ic5v"><span aria-label="Like" class="glyphsSpriteComment_like u-__7"></span></button>I am trying to locate all the elements that meet...

View Article

How to extract values from a list of urls after clicking the xpath - Selenium...

I am trying to extract some info from a list of URLs. For each url in the URL_lst, click the first xpath then extract values from the second xpath. Below is my coding:Outputs = [] driver =...

View Article


Python, Selenium, waiting for the text of element to change

As part of my automation tests, I need to monitor changes of the text of an element. Changes may occur in intervals of 1 to 10 seconds. Right now, I simply check the text property in a loop:from...

View Article


how to handle element not interactable exception in selenium c#

Web Element Code:<div class="form_field form_field--has_error sc-fBuWsC bNcPjv"<input id="temporaryEmail" autocomplete="false" name="temporaryEmail" class="sc-hzDkRC gHYxbL" value=""/>...

View Article

Selenium Error - Try/Except, element not attached to page

I am doing a program in which a user logins to his account (100% done) and after that it goes to a site (www.site.com (not this one tho)) and searches for an element. The problem: Element is not always...

View Article

Can't find WebElement with a CSS selector using WebDriver

I'm trying to access a WebElement on the website after a previous html element has been clicked. When you load the website you'll see a grid of objects (which for this question's context let's call...

View Article

Clicking multiple buttons on same page with Selenium Python

I am very new to Python and Selenium. I am using chromedriver. I need some help. I have a web page unfortunately I cannot show it because it's blocked to be opened from everyone but locally at work....

View Article


Image may be NSFW.
Clik here to view.

How to access an "inaccessable" input field by selenium in python (bet365)

In order to create a tool for simplifying my own sport bets I would like to automatically fill out the stake and click on "place bet". I already managed so far to automatically login and search for...

View Article

How to write generic xpath?

I am trying to write generic XPath for the below sites. Both sites have same elements on UI, but DOM structure is different while interacting with elements.Here I am trying to get the text of left eye...

View Article


Image may be NSFW.
Clik here to view.

Python Selenium Cannot find element using absolute xpath div

I have read over a days worth of webpages and stackoverflow posts and Ive gotten to the point where I "mostly" get a dynamic xPath to click on but its not clicking...The objective is to dynamically...

View Article

Error When Compiling Maven Selenium Project - Compilation Error packages not...

I tried to run maven project of Selenium testing (maven -install)Below is the pom<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...

View Article


How to run a simple Selenium automation test with FireFox in Mac OS and Eclipse

Im having an issue with running automation test with Selenium in Firefox adding the Geckodriver to my Java project that I have downloaded. Whatever jar files I'm adding I'm getting the same error...

View Article

Try to click button type="button" with selenium using python

I want to click on the button in https://www.airbnb.com/rooms/13921817?location=Seoul%2C%20South%20Korea&previous_page_section_name=1000. I tried several codes, but it failed.HTML Code:<li...

View Article

Jenkins - Timed out connecting to Chrome

Odd one here that I have not seen before. I decided to load a local instance of Jenkins on my Win 10 Laptop. The service is up and running and everything is building fine but when it tries to open...

View Article
Browsing all 98784 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>