Skip to content

Instantly share code, notes, and snippets.

@nicholasjhenry
Created March 26, 2013 17:34
Show Gist options
  • Select an option

  • Save nicholasjhenry/5247401 to your computer and use it in GitHub Desktop.

Select an option

Save nicholasjhenry/5247401 to your computer and use it in GitHub Desktop.
XPath sample
//table//tr[@class='store_credit']
[
td[@class='description' and .='Order Refund'] and
td[@class='remaining_amount' and contains(., '10')] and
td[@class='amount' and contains(., '10')] and
td[@class='expires_on' and contains(., '2013')] and
td[@class='expires_on' and contains(., '03')] and
td[@class='expires_on' and contains(., '10')]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment