Answer the question
In order to leave comments, you need to log in
How to get to the content of the data attribute of the input tag?
Hello, tell me pliz
, here is the xpath trying to take the contents of the data-sell from the input
//input[@data-currency='USD']/@data-buy
data-buy="74.19"
data-buy="74.19"
data-buy="74.19"
74.19
data-buy="74.19"
<input type="hidden" data-currency="USD" data-sell="78" data-buy="74.19">
<input type="hidden" data-currency="USD" data-sell="78" data-buy="74.19">
<input type="hidden" data-currency="USD" data-sell="78" data-buy="74.19">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question