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

Entering an input, clicking it and retrieving particular information with...

I'm new to web scraping with Python. My intent is to retrieve the verb for a word of interest. For e.g. dictionary.com has definitions for different parts of speech for word, I would like to enter a...

View Article


Java11 Nested Classes while using Fluent Design Structure for code

So I inherited an automation project (JAVA11 based using Selenium/TestNG) and they want it refactored to utilize Fluent Design for the code base so that it is easier for non-coders to start a test...

View Article


Image may be NSFW.
Clik here to view.

How to handle "Authentication required" window in Selenium?

I need to enter Username and Password in Authentication required window in Chrome, but it's not working due to NoAlertPresentExceptionSo my software just waiting for alert to pop-up, then getting this...

View Article

How to report failed testcase in jira using automation

I am automating a website using selenium webdriver with java, I want to write the result "Pass" or "Fail" in excel sheet. How can i automate the reporting of a failed test case in JIRA by taking the...

View Article

How to Integrate automated selenium script with JIRA

I am uploading selenium test scripts in JIRA and want to Execute these test cases from JIRA and need to update the test result. I have installed ZepHr's add-ons in JIRA. I am facing an issue in...

View Article


Allow Flash content in Chrome 69 running via chromedriver

Does anybody know how to enable Flash plugin in Chrome 69. I use chromedriver 2.41 with java selenium bindings. I've tried with prefs.put("profile.default_content_setting_values.plugins", 1);...

View Article

Performing a copy and paste with Selenium 2

Is there any way to perform a copy and paste using Selenium 2 and the Python bindings?I've highlighted the element I want to copy and then I perform the following...

View Article

Selenium doesn't refresh page on Jenkins

I have a test case that goes something like this:open homepageif there is no content presentrefresh pagecontinue with other steps... This is the relevant part of the code: public JpoPO() {...

View Article


How can I get the WebDriver version during Testrun?

I am writing on a testframework where the report should include the webdriver version of the test run. When using selenium there is the getEval("Selenium.version") method. But I find no way to read the...

View Article


Selenium Logs me out every time when I navigate to a new page, how do I stop...

I am using Selenium Via Python. I have selenium opening up a webpage using chrome and logging me in. Then as soon as i click on something else, it logs me out. For instance. I can run my program to...

View Article

How to set chromeDriver location in Protractor project

In my Protractor project I get below error when execute npm test command21:55:20] E/runner - Unable to start a WebDriver session. [21:55:20] E/launcher - Error: SessionNotCreatedError: Unable to create...

View Article

send_keys(Keys.RETURN) is throwing an error[SOLVED]

I'm new to Selenium(Python). I'm trying to get the program to open google.com and type in a piece of text to be searched. Everything is fine, except it doesn't click Enter to search.Here's the source...

View Article

How to change the target directory for a screenshot using Selenium webdriver...

I want to make a screenshot of a webpage and save it in a custom location using Selenium webdriver with Python. I tried saving the screenshot to a custom location using both Firefox and Chrome but it...

View Article


Why is my code generating a particular result

I am learning automation through Selenium (using Java programming language), and I am working on a test case. The last step in my case involves checking for the presence of a button an a page, by using...

View Article

unable to run selenium chrome-driver on google-cloud-run

I have a docker container that runs a working selenium chrome driver script, however when the same image is deployed to Google Cloud Run I encounter the following...

View Article


How to highlight elements by setting some flag

Below is the code I am using to highlight the element.public static void highLightElement(WebDriver driver, WebElement element) { JavascriptExecutor js=(JavascriptExecutor)driver;...

View Article

Unable to build JAR file for my maven PARENT prroject

I have created two training projects aiming to the creation of a Java Test Automation Framework with Selenium.Both projects have been stored in my personal git: https://github.com/omarjmcFramework:...

View Article


Methods to refresh browser page?

I just want to refresh a browser page for my smart mirror application! A PIR sensor detects a person and then the python scripts toggles the display ON - when it does it should also refresh the browser...

View Article

Image may be NSFW.
Clik here to view.

How can I verify clickable hyperlink given in a table using selenium webdriver?

I need to verify that links given in table column is clickable or not. I tried using list but I am not getting any idea what should I try next to solve this task.''' Btech Consulting Pty Ltd CTR002...

View Article

Selenium - Switch to dynamic iframe after onclick button

I am trying to switch into a new frame, which opens after clicking a button. Unfortunately, I receive a None value.driver = webdriver.Firefox()...

View Article
Browsing all 97750 articles
Browse latest View live


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