I'm new to web development and I'm experimenting with Selenium in Python.
I want to find the id of the child below, given that I only know class="entry-content"
as its parent.
Example html:
<div class="entry-content">
<div id="pl-154">
...
</div>
</div>
Example output:
pl-154
Thank you beforehand!
Update: Thank you all for the comments! However when I tried the code on the website I'm working with, it doesn't work and I'm not sure why.