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

Invalid selector: Compound class names not permitted error using Selenium

I am trying to print one of my messages from a chat via webWhatsapp.I was able to do it via Javascript from the Console tab i did it this wayrecived_msg = document.getElementsByClassName('XELVh...

View Article


How to connect Selenium WebDriver(TestNG) with Kiosk machine? [closed]

I wrote automation scripts for web based application and I want to run my scripts on Kiosk (not on my machine & not on kiosk mode using chromium), if someone helps me out in this matter. Would be...

View Article


Getting difficulty to focus on newly open window in selenium

I am unable to focus on newly open window using selenium and java. I am using Internet explorer for running my application. The new window is opening but not able to perform anything on the new window....

View Article

AttributeError: 'WebElement' object has no attribute 'copy' error when moved...

I have a HTML element like this<select id="my_id"> <option value="">ALL</option> <option value="1.0">ALL</option> <option value="2.0">A</option> <option...

View Article

How to click on the element with text as Ok using Selenium and Java

<div id="RadWindowWrapper_alert1579252675818" class="RadWindow RadWindow_Metro rwNormalWindow rwTransparentWindow" unselectable="on" style="width: 398px; height: 148px; position: absolute;...

View Article


webdriver.get() raise TimeoutException

i use selenium in combination with celery and mitmproxy to scan cookies from several websites every day. Yesterday my application crashes in consequence of the following exception:Traceback (most...

View Article

How can I call a JUnit test as the setup for another?

I'm trying to create a JUnit test that requires a user to log in with an admin account. To make it so that I don't have to repeat code I've done a Login JUnit test and a GoToAdminPage JUnit test.The...

View Article

Unable to run testng program

I am unable to run a testng program as it gives classpath error. I have already added testng libraries:org.testng.TestNGException: Cannot find class in classpath: testngBasicpackage mobileAutomation;...

View Article


How to resolve ssl certificate errors for test automation in robot framework

I'm getting ssl certificate error for our web application while running automation tests via robot framework. I tried below code with different chrome options but none of them worked that too with...

View Article


Image may be NSFW.
Clik here to view.

How to click on the download button using Selenium and Python

I am trying to download an excel file using Selenium Python using the below code:download=driver.find_element_by_css_selector("span[data-reactid='.0.1.0.0.1.1.1.0.1.0.1'>Download Orders]") The...

View Article

How to skip the login page of Salesforce?

I am currently automating test of Salesforce application and in the automation suite, logging into the application is performed numerous time. I am using Selenium + Java for the purpose of...

View Article

How to run 2 different URLs (google.com and fb.com) in a chrome browser in 2...

Can anyone help me on how to run this. So here all the test case should run for url1 and all the test case also run for url2 in the same chrome browser.

View Article

How to fix java.net.UnknownHostException: npm.taobao.org when using Selenium...

I am using Selenide version 5.3.1. I created just sample project to open browser using open("https://www.google.com") method by Selenide. This works fine and it automatically downloaded latest chrome...

View Article


Wait until class is removed from a div

I am using Selenium with C# to test a Web App. We have an implementation that when a section of a page is loading, we add a class to the div of the section and once the section has been loaded, the div...

View Article

selenium.common.exceptions.NoSuchWindowException: Message: Unable to find...

I am a beginner on Python .Could you help me, I would be thanksful! So my question is: now i am working with selenium on IE(i have to test only on IE). "Unable to find element on closed window" such...

View Article


Why am I unable to have my bot type into the credit card input section when...

Long story short, I am trying to create the back end of a sneaker bot for the Kith website (https://kith.com/). I am using the selenium library and its webdriver in order to web scrape and capture the...

View Article

How to update few fields in JSON file and again read the JSON with updated...

How to update few fields in JSON file and again read the JSON with updated values in selenium using Java.Below is my JSON : I want to update { "name": "demoPan", "Type": "patientcare", "indication":...

View Article


I have a list of URLs and want to pre-cache them so a user can cycle through...

Users are looking at websites very briefly but have to wait a few seconds for each to load. I have thought about using Selenium to automatically visit each web page to eliminate the need for users to...

View Article

How to click on a anchor Tag using selenium webDriver

I am not able to click on the button having Some visibility issues. I need to hover around this first to get the link then i need to click on the same.<a tabindex="0" class="cardPreviewLink...

View Article

hiding your password in java class file for a test case

I am trying to write a selenium test case which will be put on company jenkins server where all the employee will have access to every java files I create.public static void main(String[] args) {...

View Article
Browsing all 98787 articles
Browse latest View live


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