Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Locating email address in xpath

  • 11-05-2017 10:45am
    #1
    Registered Users, Registered Users 2 Posts: 5,659 ✭✭✭


    Below i am trying to locate the email address within the ReportUser-7-0 Robot strong tag
    <tr>
    <td>
    <span class="tablesaw-cell-content report-user">
    <strong>ReportUser-7-0 Robot</strong>
    <br/>
    reportuser-7-0-1494492089@test.xxx.com
    <br/>
    SubInvestigator-2849  
    </span>
    </td>
    

    However, the xpath
    descendant::strong[contains(text(),'ReportUser-7-0 Robot')] and     contains(text(),'reportuser-7-0-1494492089@test.xxx.com')
    

    wont find it

    I guess because it doesnt reside in the strong tag - what is the correct way to dig out the email as it doesnt reside in any specific tag..ive tried span but no joy.


Comments

Advertisement