How to get image of particular web element as base64
I'm using Selenium web driver and Python to create automation scripts for web application testing. I need to implement verification that will compare two strings of encoded png files as base64: saved...
View ArticleDriver info: driver.version: unknown using ChromeDriver v78.0.3904.70 and...
I am using java 1.8 with chrome browser version 78.0.3904.97. I am trying to execute my selenium script code with the chrome driver version 78.0.3904.70. but while execution I am facing below issue and...
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...
View ArticleHow to enforce block-insecure-private-network-requests using Selenium
chrome://flags/#block-insecure-private-network-requestsI want to Disable / Block insecure private network requests with selenium web driver chrome options Python.What flag add_argument() do I need to...
View ArticleSimple test with selenium HTMLUnitDriver do not work fine, is it wrong?
I am a beginner with selenium, I am doing a test but I do not understand why it does not work.Here are my code and the following error. import org.openqa.selenium.*; import...
View ArticleCould not start a new session. Possible causes are invalid address of the...
I am trying to run a simple program using Selenium Grid(have no prior knowledge of selenium grid), and I am having error shown as below:Exception in thread "main"...
View ArticleSelenium - getWindowHandles() is returning value 1 irrespective of number of...
I am currently automating an application based on IBM Cognos platform using selenium + Cucumber + Internet Explorer and is facing some challenges. I need some expert help from this group on the...
View ArticleSyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in...
I'm confused as to what is causing this error:The chrome version is 100.0.4986 which is the latestGoogle chrome version Python version is 3.9.1:Python versionChrome web driver version is 100.0:Chrome...
View Articleselenium chrome driver without cache
Maybe someone know how to surfing in Chrome without using browser cache?I run in loop get the pages in the incognito-mode and do not close the browser. But it seems it used cache, because the browser...
View ArticleScrape only the text of reviews from Airbnb using selenium?
I am trying to extract reviews only from Airbnb webpages.I tried the following codefrom bs4 import BeautifulSoupfrom selenium import webdriverfrom webdriver_manager.chrome import...
View Articleunknown error: cannot determine loading status from disconnected: Unable to...
I am following a tutorial on how to create and run java selenium scripts both locally and on a jenkins server using maven and eclipse.My script is pretty basic and runs fine locally when ran through...
View ArticleSelenium: NoSuchElementException: Unable to locate element - method:xpath
I have problem with method findElement in Selenium. The site is very poor, but do not look at it :)My html:<html lang="en"><head><meta name="generator" content="HTML Tidy for Linux/x86...
View ArticleHow do I get a list of child elements using winappdriver in a win32 application?
I am using WinAppDriver (using NUnit and C#) to test some legacy win32 Applications.As I debug the tests, I reach certain points where I need to see a list of all child elements of the selected...
View ArticleExecution order of test cases in Cucumber
Below is the structure how my Feature Files are divide. I have created Folders based on the functionalities and then added the scenarios inside them.Now, I have to tag few test cases among them as...
View ArticleLearning to use Assert and Asserttrue in Python for selenium web driver
Im trying to make a python webdriver to load a webpage and then assert true and run a print command if a text or object is there, and if not I want it to just continue running my loop. Im a noob to...
View ArticleFetching jQuery objects in Selenium with JavaScript
While running Selenium tests on my customizations to a CMS generated donation form I needed to get the configuration options for the form from my page. So I did this:const foo = await...
View ArticleHow to get screenshot of full webpage using Selenium and Java?
How to take a screenshot of the entire web page (full-page screenshot), not only partial (top-to-bottom) using Selenium WebDriver?My code: (Java...
View ArticleSelenium with .NET: invalid element state: Element is not currently...
I am trying to read a value from . Here is the HTML code:<select name="user_type" id="user_type" class="select"><option value="0">Select</option><option value="1"> Admin...
View ArticleHow To Send "Enter Key" via JavaScript in Selenium using "executeScript"
I'm working on automating a flow using IE 11 with Selenium and Java, on this web page I need to put a value in Text Box and then press Enter. I'm able to put the values using below code - // Here Box...
View ArticleA process has requested access to an object, but has not been granted those...
I am trying to scrape the contents of a webpage. My code works on a Windows 7 machine that has the same versions of the drivers as my Windows 10 machine. When I run it on windows 10, it opens a...
View Article