On Windows Server 2012 I am using selenium 2.53.6, and I want to check if the class contains the element lock-icon for the following html element:
<a href="http://my.page/link/somewhere" class="more-link lock-icon" target="_blank">
Selenium Projekt dianep geheim
</a>
I tried the following expression with the python API:
find_element(by=By.CSS_SELECTOR, value="more-link.lock-icon")
but it returns a None although the element (shown above) is visible on the website.
How to do it correctly?