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 ArticleJava11 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleAllow 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 ArticlePerforming 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 ArticleSelenium 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 ArticleHow 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 ArticleSelenium 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 ArticleHow 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 Articlesend_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 ArticleHow 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 ArticleWhy 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 Articleunable 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 ArticleHow 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 ArticleUnable 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 ArticleMethods 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 ArticleHow 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 ArticleSelenium - 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