How To Automate "Right click" event in Selenium IDE and opening the link in...
I am using Selenium IDE for a google search scenario.1 open google2 then type "india" and click on the search button3 then go to any link and right clicking on that link and open that link in new tab...
View Article"Failed to execute goal...
Whenever doing a Maven Build..>clean install, I am facing this error. I have tried with different versions of plugins and adding testFailureIgnore attribute, but the issue still remains. Please find...
View Articleclick() not clicking button in selenium headless mode
I have selenium test running in a remote server in headless mode using chrome driver. Following step tries to click on a button but the button doesn't get clicked.Below test step tries to click the...
View ArticleHow to find a element inside a DIV with Selenium WebDriver
I'm trying to find a way to get the value of a div, but I can not find the element either by Xpath or by cssSelector. In both cases (Xpath and cssSelector), the Eclipse console displays the error...
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 ArticleTake a full-page screenshot using a Chromium-based driver?
I’m practicing Selenium and ran into an issue with screenshots.For a normal screenshot, I’m using:File source = ((TakesScreenshot) driver) .getScreenshotAs(OutputType.FILE);This works fine with my...
View ArticleHow to attach a PDF file on WhatsApp Web using Selenium? (Error: “The file...
I’m trying to automate sending messages on WhatsApp Web using Selenium (Python), and I need to attach a PDF file.This is the code I’m using:from selenium import webdriverfrom...
View ArticleGet CSS selector string from WebElement in Selenium WebDriver - Java
I have a WebElement and I'm simply trying to extract the CSS selector string. This is the value of the variable when I debug the code:[[ChromeDriver: chrome on MAC (345345345n5435345b34)] -> css...
View ArticleNeed to retrieve xpath or css from WebElement Object at run time
What are the possible ways to retrieve xpath or css (any logic) from WebElement object? For example I have created WebElement by following way:WebElement...
View ArticlePassthrough is not supported, GL is swiftshader, ANGLE is
When trying to run headless chrome with selenium I am getting this error:[1021/151706.155:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE ismy setup code:from selenium...
View ArticleERROR:gl_surface_egl.cc(750)] EGL Driver message (Critical) eglInitialize: No...
I am trying to execute basic python google chrome automation selenium commandI am getting below error while executing the below code:from selenium import...
View ArticleHelium driver.execute_script but what should be the first argument?
I have the below HTML fragment. The fragment is a drop down:<select class="single-option-selector no-select selector single-option-selector-100" data-option="option1"...
View ArticleTestNG [Error] no test suite found. nothing to run
I am Unable to run the testng test suite from command line I am using windows System TestNG [Error] no test suite found. nothing to run had report ng listeners i have removed that fro my xml and i have...
View ArticleNoSuchMethodError: org.openqa.selenium.support.ui.WebDriverWait.until
i am trying to run the below selenium code : WebDriver driver; System.setProperty("webdriver.chrome.driver", "C:\\Driver\\chromedriver.exe"); driver = new ChromeDriver();...
View ArticleHow 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 Article