Selenium program throws compilation error...
I've created a new Java project using Selenium and Maven. This is the relevant content in pom.xml<dependencies> <dependency> <groupId>junit</groupId>...
View ArticleWhy can't I drag and drop in Selenium Chromedriver with Python?
I can't drag and drop in Selenium with the latest Chromedriver. selenium='3.141.0' python 3.7 Chrome = 74.0.3729.169 ChromeDriver =latestThe below code executed successfully, but the items are not...
View ArticleWebScraping javascript page in python
I am trying to webscrape a javascript page with Python: https://search.gleif.org/#/search/However, I am able to retrieve information but not what I am looking for.<!DOCTYPE html> <html>...
View Articlechromedriver.exe is ALREADY in PATH but still getting error message
I was writing on VisualCode studio, but I keep getting the same error message.selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Is it simply...
View Article[Python][Selenium] Error on ".find_element_by_class_name.click()"
Written below is my Python Selenium test code. It searches "Dubai to singapore" on google.com. It worked fine.However, I encountered following error when I amended code to following 2...
View ArticleHow to make Selenium select value in drop down list?
I need to write an automated test for a web page at work, the test needs to select at least one value from a drop down list that was created with the tag. Changing the HTML is not a good option,...
View ArticleSelecting dropdown in selenium webdriver, dropdown list of elements in ul of div
I am new to the Selenium Web Driver technology, below is my question and unable to find out the solution please any one help me to find out the by x path or by cs Selector or by name.below is code is...
View ArticleDetect if an open file dialog pops up in a browser
I am automating a file upload with C# and selenium (running Google Chrome), but I don't want to type the file path on the file input, I would like to emulate how a real user would do it (Typing the...
View ArticleWebdriverWait is showing TimeoutException, if i use sleep.time it works ok
I want to use WebdriverWait for when clicking elements in Python Webdriver. I get the following TimeoutException error when using WebdriverWait:Traceback (most recent call last): File...
View ArticleDespite using Explicit wait TimeoutException Error
I want to scrape data from https://www.dawn.com/business. I want to fetch all div data from site using selenium data from first div fetch and store in document file sucessfully but 4th div cannot be...
View ArticleFile not downloading when trying to scrape website download link with js backend
There is a link on a website that downloads a csv file. The link is in a table but the actual download link is hidden.<div id="testjs"> <div test-example=""> <table test-example="">...
View ArticleUnable to generate ExtentReport for .NetCore App 2.1?
I am working on .NetCore App 2.1 project and I created some selenium scripts in C# for that project with NUnit framework(in MacOS). I am able to execute it successfully. However, I am not able to...
View ArticlePython scrapping selenium
I am trying to extract the table data from this page.Tried with bs4 and selenium, but the table data does not appear in the code, tried the wait mode in selenium also did not give.from selenium import...
View Article'data:,' in the address bar while using chromedriver 2.19 and selenium 2.47
Issue Description:When I'm starting the test I see data:, in the chrome address bar and after few seconds the Chrome window get closed instead of starting navigating to the URL.OS & Chrome...
View Articleorg.testng.TestNGException:...
I am getting: org.testng.TestNGException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at...
View ArticleXpath extract extract value from content
I want my selenium webdriver to extract value 170XPath//*[contains(@class, '_wtiln _bdn9q _9a071_2MEB_')]/text()[1] Result what is this xpath selecting imageThe error what i get:InvalidSelectorError:...
View ArticleWeb scraping shot range data of NBA players in python
I'd like to export the shooting range data. I just got exposed to python. My code is as follows:from selenium import webdriver from bs4 import BeautifulSoup path_to_chromedriver =...
View Articlelogin with requests library python
i'm trying to click a log in button with requests library, is the first time that i use this library. my code is:import requests def login(credentials): response =...
View ArticleHow to fix OSError: [WinError 6] The handle is invalid with Python and Selenium?
I'm trying to log into my Fidelity account, using Selenium, and Fidelity. I've made sure that I'm using the correct webdriver (version 78 for my Chrome version 78). I think this has to do with the only...
View ArticleHow I can inspect the div appear While mouse click
I want to inspect element for c# selenium. But, the youtube settings element is appearing after mouse click, and if mouse moveout, the element is disppearing.So, I cannot inspect the element in...
View Article