Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing index pages (99376 articles)
↧

JavascriptException: Message: javascript error: Cannot read property 'click'...

I have the following code in which I enter a page and search for a product, I want to execute a JavaScript codefrom selenium import webdriverfrom getpass import...

View Article


Electron application window renders incorrectly on Azure VM until the VM is...

I have Selenium C# test automation for a Windows Electron application, executed through an Azure DevOps CI pipeline.Setup:The pipeline starts a self-hosted Azure VM.The Azure DevOps agent runs...

View Article


wait until condition on selenium webdriver

what will be code in selenium webdriver for wait.until(---code here)on any element by id value change.like- wait.Until(ExpectedConditions.VisibilityOfAllElementsLocatedBy(By.Id("")));I want to wait on...

View Article

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 Article

Selenium 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 Article


How 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 Article

how 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 Article

Cannot 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 Article


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 Article

click() 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

How 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 Article


Take 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 Article

How 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 Article


Get 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 Article

Need 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 Article


Passthrough 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 Article

ERROR: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 Article

Helium 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 Article
Browsing index pages (99376 articles)


Latest Images