Issues running ChromeDriver and FirefoxDriver with Selenium
Tried adding the drivers to the right path. mentioned the path in the code and yet getting runtime errors with chromedriver. Cannot see what is wrong with the code. whats wrong?Tried adding the path to...
View ArticleThe file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there...
I have installed Appium 1.6.4 on Mac using Terminal. Also I can able to inspect iPhone WebElements using Safari Browser in MAC.But I need to inspect the keyboard elements and date picker elements on...
View ArticleHow to start the Chrome driver with Selenium (NodeJS) maximized?
I want the Chrome driver to start maximized in Selenium 4 (NodeJS).This is my Firefox/Safari solution:this.driver = await new Builder().forBrowser("firefox").build(); await...
View ArticleIgnore screen reader text in serenity
serenity is returning the screen reader text along with the visible text in the screen. How to get text which is visible to the user?public static Target TransactionTypeOption = Target.the("Transaction...
View ArticleWait for an Ajax call to complete with Selenium 2 WebDriver
I'm using Selenium 2 WebDriver to test an UI which uses AJAX.Is there a way to make the driver to wait for a bit that the Ajax request will complete.Basically I have this...
View Articlehow to stack report.html instead of replacing
When i'm running python selenium script, to compare 2tables and generate a report for each sheet. I run multiple sheets(with queries and other details) at the same time, and the code picks up a new...
View Articlejar created by Gradle cant find webdriver
I want to build an executable jar that uses selenium. I am trying to do this using shadowJar with the dependencies of selenium and selenium chrome driver. build.gradle: group 'selenium.test' version...
View ArticleRandomStringUtils - Not generating unique String for each test scenario
I am running a Selenium test and I'm trying to generate a different random String for each of my test scenarios, but I keep getting the same String. Here is an example of what I'm running:String...
View ArticleScripts for Selenium Chrome and htmlUnit
I have some Java scripts for Chrome browser and now I want to run the scripts in htmlUnit. I think the scripts are the same for both, but I got some error when running in htmlUnit? why? So basically...
View ArticleHow to use Chrome driver in selenium protocol in StromCrawler?
I'm trying to crawl some websites that needs javascript interaction to extract all data from them. I've read this tutorial but the example website is not available anymore so I did not get how it...
View Articlewhat is need of explicit wait if we can set implicit wait for more amount of...
we declared implicit Wait of 10 secs but an element takes more than that, say 20 seconds and sometimes may appears on 5 secs, so in this scenario, Explicit wait is declared.anytime implicit wait don't...
View ArticleSelenium Timed out receiving message from renderer
After Chrome released their newest version yesterday (64.0.3282), I am now receiving this error rather sporadically:Timed out receiving message from renderer: 600.000I'm running about 2,000 selenium...
View ArticleSelenium Grid Error - Error forwarding the new session cannot find :...
My test cases are failed with an error message from the selenium-hub docker container:Error forwarding the new session cannot find : Capabilities {browserName: chrome, platform: VISTA, version: })Can...
View ArticleExtracting Table data using Selenium and Python into pandas dataframe
so I have done data extract from a table using library BeautifulSoup with code below: if soup.find("table", {"class":"a-keyvalue prodDetTable"}) is not None: table = parse_table(soup.find("table",...
View ArticleNeed to summarize a dynamic xpath
I have a far too large dynamic xpath and would like to know if there is a shortened version that can be used. This is for a legend to a chart object, "Campaign Response" (which cannot be found by...
View Articleautomate mobile device apps by direct communication to the phone via REST api
I'm currently working on a project that relies heavily on appium / selenium for automation. These frameworks are great for starting out, but the robustness isn't quite there, and requires a lot of...
View ArticleCreate simple xpath expression with 'or' operator and a function
Can I make the following xpath expression to be simpler://*[translate(text(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ,'abcdefghijklmnopqrstuvwxyz')='word1' or translate(text(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'...
View ArticleHow to search / find all results using Selenium Java Webdriver
Dear Selenium Webdriver Specialists,I am new to this framework and needed a bit of advice on how to locate / find all the search results from a sales property listing website. Below is a working code...
View Articlenull pointer exception in finding username on facebook [duplicate]
This question already has an answer here:What is a NullPointerException, and how do I fix it? 12 answersI am trying to automate login on facebook via selenium 3 and getting Null pointer exception for...
View ArticleSelenium:Element is not reachable by keyboard
Im making a python script to fill a form in a website.I need to fill a textfield,but im getting error:Element nos reacheable by heyboard(element is not hidden). HTML:<input id="contestant[name]"...
View Article