Connect to URL and dump webpage in Groovy June 10, 2023 by Tarik here is a variation println 'http://www.google.com'.toURL().text