I’ve a problem - I need to find element by class (let’s say class=“hello”) and Selenium Python reads this source code from the top to the bottom - how can I reverse it? How to make Selenium read this code from the bottom () to the top ()? The element with that class I’m looking for is nearly on the bottom of the source code, but Selenium finds the first one from the top…
Thanks for any help
Thanks - that helped me a bit, but I still don’t know how to locate the element… Look, here’s how the code looks (more or less):
<!DOCTYPE html>
<html>
<head></head>
<body>
<div>
<div class="c"></div>
<div class="c"></div>
<div class="c"></div>
<div class="c"></div> <--that's the one I want to find, but the one that is found is the first one :(
</div>
</body>
</html>