V
V
vodshar2021-02-03 19:13:56
Python
vodshar, 2021-02-03 19:13:56

How to get the contents of href if there is no class and id?

There is a line on the site: How to get the contents of href if this tag is in a compartment with other tags, but there is no id or class identifier?
<a href="habr.com" target="_blank">example</a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2021-02-03
@vodshar

Get an element along the path from any of the parent elements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question