I'm trying to get an access to div.y element.
<div class="x">
<div class="y"></div>
</div>
I know that I can directly get the div.y element using Selenium in Python.
But is it possible to call the functions like this?
browser.find_element_by_class_name("x").find_element_by_class_name("y")
Does the code above find div.y element only within the div.x element?