Scraping URL from Salesforce Button

Maybe there is. If the link is not directly in the HTML source, you can try with using executeScript and running some Javascript to grab it?

Or: Click the button, navigate to the URL, grab the URL from the browser address bar (!URL variable) and then go back.