I try to find an element by class name. Unfortunately the class name I have to select contains double underscores with raises a "no such element" error.
div-element to select:
<div class="result-list-entry__data">
...
</div>
selection:
last_named_class = result.find_element_by_class_name('result-list-entry__data')
Current result(error):
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".result-list-entry__data"} (Session info: chrome=77.0.3865.90)
Is it possible to escape the double underscores?