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

.Pytest session scoped fixture showing error in pylint

I created a session-scoped fixture so that my webdriver will be consistent with all tests (the browser won't close between tests), but for some reason, I am getting an error from within each test that...

View Article


Selenium IDE: executing a test within a test

I have written a test using selenium IDE (with flow control extensions) that iterates through elements within 2 drop-down lists (using 2 loops) and populates a data entry form according to the elements...

View Article


java.lang.UnsupportedClassVersionError: org/openqa/selenium/WebDriver :...

This is the code of selenium code to open the chrome browser and closing it.import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.By; public...

View Article

selenium.common.exceptions.WebDriverException: Message: Can not connect to...

So I have made a program on one computer using selenium and that worked, Now using it in another computer I get this error:selenium.common.exceptions.WebDriverException: Message: Can not connect to the...

View Article

Automating Bootstrap Dropdown using Selenium

I am trying to list all elements from the bootstrap dropdown and then select a certain value. However, it returns 0 values. Any suggestions will be greatly...

View Article


Selenium Python Get Img SRC Returns Actual Image Data

I am working with Selenium in Python and using Firefox web driver. I am trying to get the SRC of an image. When I first request the SRC I get the actual image data, not the...

View Article

How locate :: Before element in Selenium Python

I'm using Selenium Python to locate label element.I want to use ::before to locate it,because this is a pop window.<div class="crow" grp="0" grpname="Pizza Size"> ::before <label...

View Article

Image may be NSFW.
Clik here to view.

Cant Find Element in Selenium Python

Hello I am trying to use selenium to find a button to click on. Below is a snippet of the HTML code i am working with. <input type="button" id="runButton" class="button" value="Run Report"...

View Article


How to locate search links in google in Selenium for testing

I am trying to search Google for Selenium, then run down the list of links by clicking each one, printing the page title, then navigating back.List<WebElement> linkElements = driver.findElements(...

View Article


SOLVED Selenium: Console js code works but not python -> TypeError:...

My Selenium code logs into a website, then reaches a page with a button that exists within an iframe. Inspecting the element in chrome and using the console of the browser, I found the iframe:iframe =...

View Article

BrowserMob Proxy Not Returning Data

Hello I'm trying get a har file using the code below but it is not return any har data? Does anyone have clues on what might be going wrong?from browsermobproxy import Server server =...

View Article

Python Selenium Upload Button

Trying to upload file, but why isn't my code passing the file to the website when it should?from selenium import webdriver from selenium.webdriver.common.keys import Keys from...

View Article

Selenium, Python, and Geckodriver throwing "Unable to find a matching set of...

I know this is a duplicate of previously asked questions. But I cannot for the life of me get this to work. I've added it to my path. I've set the executable path. I've tried multiple versions of the...

View Article


Why does the on screen keyboard doesn't work on password field, but my...

How will I able to automate this <object> field or input a text not using a physical keyboard in selenium or in C#<object width="200" height="24" id="safeEdit1"...

View Article

How can i use variables from my python scripts inside of json data? [duplicate]

This question already has an answer here:How to dynamically build a JSON object with Python? 5 answersI am trying to access certian variables from my python code above of json data. I am new to using...

View Article


mvn test gives noClassDefFound

So I am trying to run tests using mvn test -P and it is giving me java.lang.NoClassDefFoundError: org/openqa/selenium/WrapsElement when I run it from the cmd although it is working fine from within...

View Article

getText() from dropdown which contains linktext is returning empty string

Website https://formy-project.herokuapp.com/ Problem faced during getText() from components dropdown. code:@Test(priority=1) public void elements () throws InterruptedException{ List<WebElement>...

View Article


unable to run testng program it is giving classpath error, already added...

unable to run testng program it is giving classpath error, already added testng librariesorg.testng.TestNGException: Cannot find class in classpath: testngBasicpackage mobileAutomation; import...

View Article

If statement to check element click won't be intercepted (Python Selenium)

My code waits for an element to be clickable, but even when this occurs there is still a popup box above it that remains for a few seconds while a table is populated. This means my click is getting...

View Article

Image may be NSFW.
Clik here to view.

why selenium test cases are got skipped randomly while running testng.xml in...

I have tried to run the selenium automation test cases using testng.xml file with multiple cases, but some cases got skipped. TestNG not showing skipped testcases count also, but showing total count...

View Article
Browsing all 97756 articles
Browse latest View live