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

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


TestNG [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 Article


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

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 Article

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


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

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

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


Could 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


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

SyntaxError: (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 Article

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

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


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

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

Image may be NSFW.
Clik here to view.

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


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

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

How 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 Article
Browsing index pages (99357 articles)


Latest Images