Python+Selenium+Chrome Increasing Memory Usage Over Time
I am running a scraper created using Python 3.7, Selenium 3.141.0, Google Chrome 77.0.3865.90 and ChromeDriver 77.0.3865.40 on Ubuntu 18.04.Problem: As the script continues scraping more pages, the...
View ArticleAzure devops - NUnit tests not found when outside of a netcore/template project
I followed the tutorials in the docs for azure devops with regards to running Selenium tests as part of the build. My local tests run fine with the browsers I have webdrivers installed for, but when...
View ArticleError message: "'chromedriver' executable needs to be available in the path"
I am using selenium with python and have downloaded the chromedriver for my windows computer from this site: http://chromedriver.storage.googleapis.com/index.html?path=2.15/After downloading the zip...
View ArticleFetch all href link using selenium in python
I am practicing selenium in python and I wanted to fetch all the links on a web page using selenium.For example, I want all the links in 'a href" tag from this website : http://psychoticelites.com/I've...
View ArticleAndroid Appium : Not able enter the text in textbox
//For log in scenario, I just want to enter the userID and password. I tried with different Xpath but still it's not able to identify the box. every-time getting an no such element exception. We are...
View ArticleHow to structure BDD scenarios for situations with a lot of variables
Our team is new to BDD development/specification, and from a testautomation perspective we would like to get some advice on setting up BDD scenarios (and the Steps) in a situation where there are a lot...
View ArticleHow IEDriver bit is determined for the execution
We have 2 machines in which we run IE selenium Test scripts. In both the machine IE 32 bit is configured. In one machine it types faster and in another machine it types each word. So in that machine i...
View ArticleElements sometimes are not located [Selenium, Python]
I'm using Selenium to automate a process and I am using ChroPath to find Elements like XPath for easier use. But sometimes the elements are not available; example:Element that I'm trying to...
View ArticleWhy base64 screenshot is coming as blank in emailable extent report?
When I execute from local machine, I could see screenshot properly within extent report for the failed scenario. When I execute it from Jenkins and have the extent report emailed, it's coming as blank....
View ArticleHow validate a list of data that are String are in alphabetical order or not...
This question already has an answer here:how to validate a list of strings are in alphabetical order or not in Selenium using java 2 answersI have a list of data, i need to validate the data is in...
View ArticleFirefox Crash in Selenium
I use Selenium to do the web-scrapping. However, my Firefox browser always crashes after a while (it is very intensive the task of scrapping). The error message from Firefox:Firefox had a problem and...
View ArticleAlert disappears before script can switch to it using Selenium + Python + Chrome
I'm writing a Python (3.6.6) script that uses Selenium (3.141.0) to open a URL in Chrome (ChromeDriver version 77.0.3865.40), navigate a series of menus, enter login details into a popup and login....
View ArticleHow to loop from a list of urls by clicking the xpath and extract data using...
I am extracting board members from a list of URLs. For each url in the URL_lst, click the first xpath (ViewMore to expand the list), then extract values from the second xpath (BoardMembers' info)....
View ArticleI cant click on a dropdown element using selenium
I want to click on "Mon profil" I tried :driver.findElement(By.className("profile-navbar-label dropdown-item")).click() and driver.findElement(By.xpath("//button[contains(.,'" + "Mon profil" +...
View ArticleHow to avoid drop down closing after i clicked the drop down, actually i want...
I have to read the drop-down values in the bootstrap dropdown while automating if I click on the drop-down menu, it's opened and closing, so the drop-down values are not matching with my XPath, if the...
View ArticleHow to handle a window popup with wdio?
I'm trying to handle a facebook auth dialog popup via webdriverio. The problem is that I can't seem to target the email/password fields for the facebook signup. Here's my code:it('redirects after...
View Articleselenium - chromedriver executable needs to be in PATH
Error message:'chromedriver' executable needs to be in PATHI was trying to code a script using selenium in pycharm, however the error above occured. I have already linked my selenium to pycharm as seen...
View ArticleCannot start the driver service on http://localhost
I would kindly like to ask for help an issue I have running selenium on on a windows server without an interface, I get the following error:Cannot start the driver service on http://localhost:49906/ at...
View ArticleHow to press Ctrl+V in Selenium WebDriver
In one of my automated tests I need to press Ctrl+V in text box to paste text in it. But I can't do that. I'm using Selenium WebDriver for .net v. 2.35.0.0. Here is my code, it does not work. It...
View ArticleSelenium Java Chrome browser sync issue
I need to get chrome extension which was pushed through gapps while automating. I can't turn on syncing in the selenium controlled browser. How to enable sync, currently it is showing sync is...
View Article