简体   繁体   中英

Find object by text in selenium ide

need help need to find tst_user span in selenium ide and click it

<div class="v-filterselect-suggestmenu" style="width: 149px;">
<table style="width: 100%;">
<tbody>
<tr>
<tr>
<tr>
<tr>
<td class="gwt-MenuItem" role="listitem">
<span>tst_user</span>
</td>
</tr>

这将达到目的:

//span[text()='tst_user']

try this :

//*[contains(text(),'tst_user')]

Or :

css=tag:contains(“inner text”)

Regards, Tarun

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM