My code could not recognize special characters
I have a test where it would verify to see if the username will display where the login and log out is. Here is the object html. <span class="MuiButton-label"><svg class="MuiSvgIcon-root"...
View ArticleNeed Help Using Chromedriver with Google Images Download
I am trying to run the following code to pull in some images:from google_images_download import google_images_download #importing the library response = google_images_download.googleimagesdownload()...
View Articlejava.lang.NoSuchMethodError:...
I am using JSoup Version 1.12.1. Normally org.jsoup.nodes.Document.wholeText() this is working fine. But when i am creating the artifacts of my project and using this jar file then I am getting this...
View ArticleCannot run Java automation tests on android "Cannot call non W3C standard...
Env:Appium - v1.15.1Chromedriver - 77.0.3865.40appium/java-client - '7.2.0',testngVersion - '6.14.3',selenideVersion - '5.3.1',Chrome - 77.0.3865.116Android - 10 When I run my tests I get next...
View ArticleExtract text from multiple links in a Python page
I'm doing automation on a website. My goal in this site is to do a research and extract the information that this site returns to meWhen I do a search it generates a lot of links for me. These links...
View ArticleHow to pass python data back to the calling script about a browser window...
I am trying to find the best method to pass data from python script2.py back to the calling script (script1.py). I am using Python 3 on Linux.Script1 calls script2.py which then uses Selenium to open a...
View ArticleBuilding and running a Java Selenium Automation on Jenkins
I created an automation in Java that utilizes Selenium, ChromeDriver, and the JExcelApi. In order to simplify the distribution of this automation, I am attempting to add it to a Jenkins server (see...
View ArticleGroovy, Selenium, Cucumber, adding ChromeOptions arguments
I wanted to create a BaseTest.groovy where i implement the Webdriver with headless mode.package api import org.openqa.selenium.WebDriver import org.openqa.selenium.chrome.ChromeDriver import...
View ArticleIn selenium how to find out the exact number of XPATH links with different ids?
With Python3 and selenium I want to automate the search on a public information site. In this site it is necessary to enter the name of a person, then select the spelling chosen for that name (without...
View ArticleAutomating GMAIL login using Python-Selenium
I am trying to automate logging into GMail using Selenium package of Python. However, I am not able to accomplish the task and get the following error:Traceback (most recent call last): File...
View ArticleHar file always returns empty when run via browsermob proxy in selenium
I'm trying to read sources of page traversed during selenium replay via browsermob proxy but I always get an empty har file.Selenium 3.141 browsermob-core 2.1.5 jarBelow is my code.If I set WebDriver...
View ArticleHow to open a new blank window using webdriver in java.
I am using (Webdriver) driver.close(to close the browser instead of using driver.quit). After the browser window is closed i am not able to use driver.get(url) -which throws...
View ArticleElementNotInteractableException - Python / selenium not duplicate
Having trouble .sendkeys to the password text box after it has been selected and i can see the cursor flashing waiting for some text inputThis is the html<div class="hm-Login "> <div...
View ArticleWrite a auto-fill and auto submit web form program
I am trying to write a program which can automatically fill in and submit a form in a web in particular time slot. But i have no idea how and where to start. i searched this in google, but only...
View ArticleWhy does selenium's move_by_offset function sometime waits before executing...
I am using Selenium in Chrome with Python to automate some testing and part of that is moving the mouse, as I am creating a lot of test I run them in parallel on threads. The only piece of code that...
View ArticleSelenium Python | 'find_elements_by_class_name' returns nothing
I am trying to scrape job titles from a dynamic job listing. When I use the function find_elements_by_class_name, the function doesn't return anything. I'm new to selenium so i'm not sure if i'm simply...
View ArticleClick Next Button on IMDB Using Selenium
I am new to Selenium for web-scraping. I have written a Python code which if given the following results page on IMDB:...
View ArticleSelenium closes window immediately
This is my first selenium test and i'm doing kahoot bot. Problem is this. When I open new window, selenium closes it immediately. I'm writing this in python, and using chrome. I've tested to change...
View ArticleFind element locator on IE webddriver (Any driver actually)
This post is to share a solution I've built to help find elements on webdrivers using System.in, since there are no (at least that I'm aware of) extensions to find locators on IE.This solution is not...
View ArticleHow to handle pages auto-updating during a script working through a list
I have a Python/Selenium script working through a page, and in an effort not to spam the server I have half second sleeps between interactions with page elements. I've noticed an issue where the script...
View Article