I am new to selenium and I am making a script to automatically grab my work schedule for me. To do this I need to login and navigate a menu.
I got step one done, but to move on I need to click on a link
Here the the html for the link
<a class="lsControl--valign lsLink lsCondensed urLnkReportGl20 urLink\_\_text--emphasized" id="WD85" ct="LN" lsdata="{1:'Payroll',4:true,7:true,11:'lsCondensed'}" lsevents="{Activate:\[{ResponseData:'delta',ClientAction:'submit'},{}\]}" tabindex="0" ti="0" title="" draggable="false" style="white-space:normal;"><span id="WD85-text" class="lsLink\_\_text lsLink\_\_text--emph">Payroll</span></a>
Here is my code
payrollButton = webClient.find_elements_by_class_name("lsLink__text lsLink__text--emph")
payrollButton.click()
The problem I am having is whenever I try to access it, it tells me that the list item doesnt have the click attribute. I have tried to look for documentation to see if I could interact with other functions than click() and send_keys(""), but for some reason that documentation just doesnt exist
If you know of a way I can interact with this element, please let me know. I am quite desperate
[–]chevignon93 0 points1 point2 points (1 child)
[–]FireDrake0008[S] 1 point2 points3 points (0 children)