N
N
Nanch2020-10-31 15:34:21
Python
Nanch, 2020-10-31 15:34:21

How to get attribute value through Silenium?

need attribute value data-val
span class="cli_co_t" data-rel="277_1" data-val="+7(495) 7299872" style="display: inline;"
I do parsing through Silenium, I write everything in python, I tried several options for writing geta_attribute, for some reason it does not work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SHADRIN, 2020-10-31
@shadrin_ss

If you can't do that, then how do you write a parser?
https://selenium-python.readthedocs.io/locating-ele...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question