I have a webpage with the following:
<span class="plugin_pagetree_children_span plugin_pagetree_current" id="childrenspan173273808-0"> <a href="/display/Cardians/Shift+Turnover?src=contextnavpagetreemode">Shift Turnover</a> </span>
and I can successfully find it by link text using st = driver.find_element_by_link_text('Shift Turnover')
but when I print the id using print('-',st.id)
The id prints out as 63cd644e-495b-4985-8f9e-7ea067a2b6f1
instead of childrenspan173273808-0
.
I've also attempted to get_attribute
and get_property
but those aren't working either. Any hints/tips/suggestions welcomed.
Thanks in advance.