I have a popup with list of names. I need to choose "mahmoud" for instance by clicking the "select" link beside the label "mahmoud". How to click that select? I am using selenium webdriver with python. thanx for the help
driver.find_element_by_name('123')
driver.find_element_by_link_text('Select').click()
#these 2 code lines are not working
name
- mahmoud select
- ahmed select
- engy select
mahmoud is text,select is link
the html code for the first row is:
<tr class="gridRow">
<td>1</td>
<td>Mahmoud</td>
<td>
<a href="javascript:void(0)">Select</a>
</td>
</tr>