Skip to content

Instantly share code, notes, and snippets.



Last active Nov 12, 2015
What would you like to do?
History languages using Geb and Wikipedia
import geb.Browser {
go ""
def lang = $("caption", class: "summary").text()
if (lang) {
def links = $("th", text: "Influenced").parent().next().$("a").hasNot("span")
if (links) {
def influencers = links.collectEntries { [(it.text()):it.@href] }
println "$lang=> $influencers"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment