python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
XPath - XML document nodes selection problem
Need help with XPATH.
I use this library jcabi (see samples) to process XML document. I'm facing a problem (all nodes named "member" are retrived, I just want the first level of "member...
aristos
Votes: 0
Answers: 2
How to click the cross on the banner at site www.di.se with Selenium?
Description: I work on scraping the stocks on site www.di.se. The site content is blocked by a banner. I have always clicked the cross by the code:
driver.findElement(By.id("ElementName")).c...

torbjörn södheim
Votes: 0
Answers: 1
Using text attribute to retrieve text with Selenium in Python
I'm trying to execute this:
driver.get(websitelink)
sleep(3)
element = driver.find_element_by_id("canvasCaption").text
print('text is:',element)
In order to get text from here :
<div cl...
madacmjtr
Votes: 0
Answers: 1
Message: invalid selector: The result of the xpath expression is: [object Text]. It should be an element
I'm trying to print 2 text files under an element separately, but because I can't select text files directly with selenium (like 1st text, 2nd text)
I want to select 'Home Win' separately 'PSV vs Aja...

Emre Oz
Votes: 0
Answers: 1