How can I click on a specific email at Gmail using Selenium IDE? How can I click on a specific email at Gmail using Selenium IDE? selenium selenium

How can I click on a specific email at Gmail using Selenium IDE?


This is strange, because clickAt | css=div.yW > span.zF[email='myemail@myemail.com'] works fine for me. More than that, clickAt | css=span[email='myemail@myemail.com'] will always open first message(last one) with this email in the list.


BarbSchael,A similar solution can be drawn by using Xpath of the FROM field.

I used this command:

clickAt | //table/tbody/tr/td[5]/div[@class='yW'] |

Click at the FROM field of first/recent/top most mail to go to mail detail page. // note: tr for first mail, tr[2] for second and so on.