How to scrape all of the pages on amazon from a search result with python
I am trying to scrape all of the pages from a search result on amazon with python. However, the code below only returns the listings on page 1. Can anyone offer some suggestions on how to gather the...
View ArticleSelenium cannot find Chrome binary
I am using a mac and have python 3 and selenuim 4.10 installed.I cannot work out what I am doing wrong . It was my understanding thatfrom v4.6.0 or higher, you don't have to use a third party library...
View ArticleHow do I read whatsapp messages from a contact using python?
I'm building a bot that logs into zoom at specified times and the links are being obtained from whatsapp. So i was wondering if it is was possible to retrieve those links from whatsapp directly instead...
View Articlehow to create .exe file in visual studio 2017 for 1 project of selenium using...
I am working on a project where I am writing selenium script. I'm writing it in visual studio 2017.I am using c#, NUNIT framework with selenium. I am having several classes. Each class is testing...
View ArticleCannot resolve symbol 'MobileElement', 'AndroidElement', and 'IOSElement' in...
MobileElement, AndroidElement, and IOSElement are not available in Appium Java-client 8.0.0Beta when migrate from Appium Java-Client 7.6.0
View ArticleHow 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 Article