Selenium python3/ How to find element using selenium?



<div class="font-weight-bold text-5xl mb-0" data-target="points.balance">170</div>

I have a part of this code and I need to use selenium to find 170, and each time the code is executed, the selenium printed the updated value


e = driver.find_element_by_class_name("font-weight-bold.text-5xl.mb-0")

Answered By – captain_majid

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More