WebDriverException: unknown error: DevToolsActivePort file doesn't exist...
I am trying to launch chrome with an URL, the browser launches and it does nothing after that.I am seeing the below error after 1 minute: Unable to open browser with url: 'https://www.google.com' (Root...
View ArticleTestNG : Test case is ignored
I am using TestNG framework for writing test cases for my Android application. For which I am using Appium testing tool.For this I have defined following files :pom.xml file - required for...
View Articlepython, chrome driver errors
I have this file test.py:from selenium import webdriver options = webdriver.ChromeOptions() options.add_argument('--headless') options.add_argument('--disable-gpu') driver =...
View ArticleHow to cancel pending request with jQuery in JavaScript Selenium?
I have a website with many users clicking 1 button. It appears to make no sense to wait until long-pending ajax request gets response, sometimes more than 1 min. I know how to wait for it, but how to...
View ArticleWebdriverio how to do a TAB key action
I am using webdriverIO with latest Chrome browser v77 and chromedriver v77.When I try to do a browser.keys("\uE004"), I got an error:Error: The requested resource could not be found, or a request was...
View ArticleInvalid argument: Unsupported locator strategy: null - with chrome driver...
I'm getting following error: invalid argument: Unsupported locator strategy: null (Session info: chrome=76.0.3809.132) (Driver info: chromedriver=76.0.3809.126...
View ArticleSelenium/Firefox not working
I am trying to invoke Firefox with selenium webdriver using Java code, Firefox browser opens, however, it's not running any tests and terminating after some time with error message below. Please...
View Articlewhat's the fastest way to web-scraping and get different items from a website
I've been working on a web-scraping project written in Python using Selenium and requests. Each time when I need data I send a request to get it (or using Selenium), and each request take time. My...
View ArticleScrape all youtube search results
I am trying to collect data from youtube search result. Search term is "border collie" with a filter for videos that were uploaded "Today".52 videos appear in the search result. However, when I try to...
View ArticleHow to scrape with BeautifulSoup waiting a second to save the soup element to...
i'm trying to scrape data from THIS WEBSITE that have 3 kind of prices in some products, (muted price, red price and black price), i observed that the red price change before the page load when the...
View ArticleJUnit5 run tests by tags
I have a setup Maven+JUnit5+Selenium, my pom.xmlhttps://github.com/13Dima13/G/blob/master/pom.xml<plugin> <groupId>org.apache.maven.plugins</groupId>...
View Articleselenium no such session excpetion: session does not exist in IEDriverServer
I have a few selenium tests on a react application. All tests are passing for chrome and firefox without any error. However, in IE (internet explorer v11) - all tests pass, but fails at the tearDown...
View ArticlePossible issue with Chromedriver 78, Selenium can not find web element of PDF...
Until my google Chrome wasn't updated to version 78 my code worked fine. I also updated the chromedriver to version 78.0.3904.70. So I am not able anymore to find WebElement with id='plugin' using...
View Articleorg.openqa.selenium.NoSuchElementException no such element: Unable to locate...
I am try to test the login function using selenium but I get this exception :org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element:...
View ArticlePYTHON : Selenium loop selenium.common.exceptions.TimeoutException
I'm trying to scrape product details from each individual product page. I try to append an integer in between xpath for 'elements'. The for i in range loop run without problem for j = 1, print...
View ArticleGetting the error " bound must be positive" while trying to select a random...
IMAGE OF LIST OPTIONSI am trying to select a random radio button out of multiple radio buttons through the below-mentioned code:addapp.ClickSelectUnit(); List < WebElement > options =...
View Articletarget window already closed from unknown error: web view not found
String mainWindow = driver.getWindowHandle(); driver.findElement(By.xpath(pro.getProperty(""))).click(); for(String newWindow : driver.getWindowHandles()){ driver.switchTo().window(newWindow); }...
View ArticleHow to loop through only li elements inside a ul
Xpath of ul element:resultSet = driver.find_element_by_xpath("//section[@id='abc']/ul") How to loop through only li elements inside a ul, given above ul element xpath?
View ArticleSelenium Web Driver & Java. Element is not clickable at point (x, y). Other...
I used explicit waits and I have the warning:org.openqa.selenium.WebDriverException: Element is not clickable at point (36, 72). Other element would receive the click: ... Command duration or timeout:...
View ArticleI'm automating a task using selenuim webdriver . How to fix : get() missing 1...
I'm creating a twitter bot that automatically likes every post in a hashtag and while getting the url using get() I'm getting this error : get() missing 1 required positional argument: 'url' .I've also...
View Article