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

BeautifulSoup --- if / else --- check if container contains another container...

My problem refers to the last part of the code ###Bottom container:Below website contains 17 "productlist-item__bottom-container" of which 4 contain a...

View Article


Unable to run testcases using Jenkins [duplicate]

This question already has an answer here:An illegal reflective access operation has occurred while executing automated tests using Selenium and Java 9 1 answerI'm getting below error:Started by user...

View Article


Sending keys to autocomplete text box

There is an autocomplete text box in a web page I am trying to read from. I would like to click the text box and enter certain text into it and click the associated name but I am encountering this...

View Article

What is better practice in Cucumber-jvm

We are at odds in the office over what is the better way to structure our cucumber test suite. This is in the context of clicking radio buttons in forms. The two approaches are: Use the page object...

View Article

Scrape JSON response with Selenium Browser

I want to make automaticaly the following actions: I open a web page with Google Chrome. I wait for it to render me all the needed information. Then I go to Inspect Element, tab Network, and looking at...

View Article


Image may be NSFW.
Clik here to view.

Error message when read multiple text elements using selenium

I am clicking on a certain link and would like to read all the text in a given class and return that as a row in pandas dataframeThis is the code I havepage_link =...

View Article

How do I stop email newsletter popup from intercepting clicks?

ProblemI am writing automated tests for my company's website using Java and Selenium. Right now I am writing tests that involve clicking on links, and verifying that the link leads to the correct...

View Article

Image may be NSFW.
Clik here to view.

C# Selenium Chrome clicking link from default chrome home page

I'm trying to get Selenium to click on one of the most visited web links from the default Chrome web page.The problem is that Selenium cannot find the element on the page and I think it has to do with...

View Article


Making dynamic code in Cucumber with the Page Object Model

Is there a way perform actions dynamically using Cucumber? Example:Feature File:Scenario: Click all the boxes Given On the checkbox page When Click checkboxA And Click checkboxB Step...

View Article


Creating Custom Object in Salesforce Lightning using Selenium Webdriver

I am trying to practice using Selenium by doing a simple operation of creating a custom object in Salesforce Lightning. My code works fine in Classic, but once I switch over to Lightning, for some...

View Article

Nightwatch: Error switching to iframe

I'm trying to write e2e tests using Nightwatch for a chrome extension. The extension inserts an iframe onto certain pages. I'm able to start up chrome with the extension but run into an error when I...

View Article

Perform tests on multiple links opened from a list of links in Selenium

I have read the links present on one web page and kept in a list. For those links I want to run simultaneous tests. I have 90 links on a page and for each pages I will run the same tests. I am trying...

View Article

selenium.common.exceptions.SessionNotCreatedException: Message: session not...

I am having this error apparently when trying to access a url that the script requests, does not have a specific. I don't understand exactly why this error, but I want to treat it so as not to abort...

View Article


Total price is greater than 1000$ apply coupon code [closed]

In an online website , if my total amount of purchase is more than 1000 then want to apply coupon . How can i write selenium code for this requirement? Can some one help?

View Article

chrome doesn't maximize when running selenium testNG from jenkins

I am facing a problem with running selenium testNGtest from jenkins , the problem is that i am doing a login to my application and checking some element visibility , when i run the test from the batch...

View Article


Python 3 error: ImportError: No module named selenium

I am coding on Sublime Text. I have selenium installed and I keep getting an error. Here is my code:from selenium import webdriver driver =...

View Article

Image may be NSFW.
Clik here to view.

how selenium select the option from dropdown list when there have no options

i am trying to use python+selenium to get the dropdown list options, but I found there have no options in the source code and the elements. so I do see the options from my browser, like this but when I...

View Article


Is it posssible to store selenium objects? (Python)

I am trying to catch errors in my automation program and pass them as arguments to another function. My objective is to store these selenium objects which caused errors during automaton and handle them...

View Article

Selenium only loading half of the elements found on the page

"I am fairly new to selenium, i am trying to get all the records on a single page of ebay, but seems like webdriver is only loading half to the instances of the required element, i am using time.sleep...

View Article

Image may be NSFW.
Clik here to view.

How to find a element xpath without Content-desc, resource Id or text attributes

Using Appium, I want to click on an (arrow) button in the below picture. But the button has no resource-id, content-desc or text. So, is there any method by which we can click on the button. I am using...

View Article
Browsing all 97756 articles
Browse latest View live


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