All Questions
Tagged with xpath selenium-webdriver
9,611
questions
-3
votes
0
answers
12
views
I am getting "org.openqa.selenium.ElementNotInteractableException" this error while performing actions on calender
I am getting "org.openqa.selenium.ElementNotInteractableException" this error while performing actions on calender
I am trying to perform actions on the calender popup screen (Selecting ...
0
votes
1
answer
33
views
Get result with Xpath Expression to be used in java code
I'm unsure why I am not receiving a result for the xpath expression in the image below. I am trying to select the <circle> tag to execute a test step in my Selenium Java test script. I have ...
1
vote
1
answer
41
views
XPath search with text containing soft hyphen
/div[contains(text(),"Inverter")]
This is the code that we currently used to map some objects in selenium with xpath. The problem now is, that they introduced soft hyphens now into their ...
0
votes
0
answers
24
views
Sign in - Google accounts (choose a account) - Cant seem to be able to click the account (python selenium)
Its the page where you choose which account to login with on a website. I have a hard time clicking the account element. I have no idea if im writing the wrong path or it has something to do with a ...
0
votes
0
answers
21
views
Selenium XPATH for Google general search - how to improve results
I wrote a Python program to run a Google search for each company name in an Excel sheet. However, I get a lot more search results when manually searching the company names up on google.
I suspect it's ...
1
vote
1
answer
26
views
How do I get text in Selenium when the text isn't neatly enclosed within a tag?
<td data-title="Docket No.">"3228"
<div class="cursor-pointer expand-collapse-container expand-document-name">
<div class="expand-arrow&...
0
votes
1
answer
37
views
Extracting the text between span tags in a Javascript-rendered page using Selenium in Python
I am trying to scrape all instances of text between tags with a particular class on a web page that dynamically updates. I am using selenium with a chrome WebDriver in Python.
In a normal browser, ...
0
votes
0
answers
24
views
Extract all data inside g tag of JS chart using Selenium
I am currently trying to scrape a local web page, generated by my EV charger. I access it through it's IP address, which requires me to sign in.
After signing in, I want to retrieve the data from the ...
-1
votes
1
answer
41
views
Handle submenu items from a drodown
I want to locate the elements from sub menu
i am trying to locate print but couldn't. how can i fix this?
My code
WebDriver driver = new FirefoxDriver();
driver.get("https://www.flipkart....
0
votes
1
answer
92
views
A condition on whether an element exists with Python Selenium
I am trying to capture a text from an element which might have two XPaths, but I can't make it happen.
I have tried all of the below methods with no luck and I'm getting this error when running my ...
1
vote
2
answers
47
views
find an element by Xpath using selenium Java
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui....
0
votes
0
answers
34
views
Read values into a List<string> or DataTable from a Agnostic Grid using Selenium C#
I'm trying to read an Agnostic Grid on a web page using selenium c# and want to store the Text based on the column name. I'm not that great fan of DataTable so I preferred List over DT.
Problem: The ...
1
vote
1
answer
38
views
HTML XPATH, get aunt/uncle html
I was able to get access to the tag that contained CSCI 12
"//span[contains(., '" + CSCI + "') and contains(., '" + 12 + "')]"
but im stuck trying to access the parents ...
0
votes
0
answers
22
views
How can I iterate through a table using selenium using XPATH to click a button that has the same XPATH in each row?
I am trying to scrape all the history information for some results in a table online. To do this, I need to click the "History" button on each row, which redirects to another page, then ...
0
votes
2
answers
58
views
Unable to click an element and scrape web using xpath and id- selenium
I have been trying to create a code to select an element on a web page- https://tmrsearch.ipindia.gov.in/eregister/ using xpath and element id with the help of Selenium library. I have mentioned two ...