Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing index pages (99341 articles)

Image may be NSFW.
Clik here to view.

Execution order of test cases in Cucumber

Below is the structure how my Feature Files are divide. I have created Folders based on the functionalities and then added the scenarios inside them.Now, I have to tag few test cases among them as...

View Article


Learning to use Assert and Asserttrue in Python for selenium web driver

Im trying to make a python webdriver to load a webpage and then assert true and run a print command if a text or object is there, and if not I want it to just continue running my loop. Im a noob to...

View Article


Fetching jQuery objects in Selenium with JavaScript

While running Selenium tests on my customizations to a CMS generated donation form I needed to get the configuration options for the form from my page. So I did this:const foo = await...

View Article

How to get screenshot of full webpage using Selenium and Java?

How to take a screenshot of the entire web page (full-page screenshot), not only partial (top-to-bottom) using Selenium WebDriver?My code: (Java...

View Article

Selenium with .NET: invalid element state: Element is not currently...

I am trying to read a value from . Here is the HTML code:<select name="user_type" id="user_type" class="select"><option value="0">Select</option><option value="1"> Admin...

View Article


How To Send "Enter Key" via JavaScript in Selenium using "executeScript"

I'm working on automating a flow using IE 11 with Selenium and Java, on this web page I need to put a value in Text Box and then press Enter. I'm able to put the values using below code - // Here Box...

View Article

A process has requested access to an object, but has not been granted those...

I am trying to scrape the contents of a webpage. My code works on a Windows 7 machine that has the same versions of the drivers as my Windows 10 machine. When I run it on windows 10, it opens a...

View Article

Stop browser load from selenium webdriver

My selenium webdriver goes to a page and waits for that page to finish loading. If 30 seconds pass it times-out and the script fails. Is there anyway to have the webdriver stop the page loading after...

View Article


How to identify that an image in canvas HTML element is loaded or not

I need to capture the time taken for displaying an image in Canvas HTML element using selenium after clicking a button/key press. Can someone help with an example, Thanks

View Article


How can I select all the options in a drop down- Selenium Webdriver?

Currently working on Selenium WebDriver and using Java. If I have drop down name called Product.. In that drop down I have so many values (for ex:60). when executing the code I deselect all option then...

View Article

TestNg Assert.AssertTrue Always returns False - Selenium Webdriver

I have a util function as below:public static boolean isWebElementEnabled(WebElement element) { try { return element.isEnabled(); } catch (Exception exx) { return false; }}public static boolean...

View Article

Selenium Webdriver Node.js

I am new to Selenium, and new to Node.js. I've done the npm installs and put chromedriver and geckodriver in a directory on my PATH. I am on Mac OS X. Running 'node cheese.js', I immediately...

View Article

how to select the value from "Span Type dropdown" in Selenium webdriver

how to select the value from "Span Type dropdown" in Selenium webdriverI am able to click on dropdown by using XPath but not able to select the value from the dropdown.My XPath for clicking on Dropdown...

View Article


Getting forbidden error on selenium chrome [closed]

I am working on a Python Selenium application that monitors an examregistration website. I am getting a 403 Forbidden response when thesite is opened through Selenium, while the exact same URL opens...

View Article

How to realize which version of Selenium to use for each Chrome version?

In a web scraping process with Selenium Python, I have written a code including opening a Chrome browser. The code has worked fine for 2 years but suddenly since two days ago stopped working. How I can...

View Article


Connect Remote Database using Selenium Webdriver and run Test Cases from...

I am using selenium web driver java built, the editor is eclipse. For testing one of our websites I am using Data-driven testing by fetching data from MySQL database.I dumped the development server...

View Article

File Upload functionality of Selenium web driver not working through sendkeys

Steps to reproduce:-Go to :-https://talentconnect.pge.com/sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search?sap-client=810&sap-wd-configId=ZPERJ_A_UNREG_JOB_SEARCH#Username:-...

View Article


How to fix Edge and chrome driver errors of selenium with java project?

I downloaded edge driver release version 88Imported selenium standalone server jar file to my java project.Trying to execute below code.//TestEdge.javapackage com.test;import...

View Article

How to scroll down a page

I want to scroll down to the bottom of the page, and perform an action. Using uiautomator, I have obtained the...

View Article

Selenium (Chrome 136): "Failed to decrypt" errors with copied profile prevent...

I'm trying to automate Google Chrome 136 using Selenium 4.25.0 in Python to access https://aistudio.google.com using my existing, logged-in "Default" Google Chrome profile.Previously, I was facing an...

View Article
Browsing index pages (99341 articles)


Latest Images