Your question is not a Perl question but an XPath question.
Why can't you use the XPath queries that the Chrome Inspector gives you?
In reply to Re: Xpath with Selenium
by Corion
in thread Xpath with Selenium
by Chaoui05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |