Skip to content

Instantly share code, notes, and snippets.

@todiadiyatmo
Last active August 29, 2015 14:14
Show Gist options
  • Save todiadiyatmo/9c27a7a185dc82c2fd24 to your computer and use it in GitHub Desktop.
Save todiadiyatmo/9c27a7a185dc82c2fd24 to your computer and use it in GitHub Desktop.
XPath
// Get class
$x("//h2[@class='postingtile']/text()")
/// get child of a class
$x("//div[@class='post-title']//span")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment