This isn't really an exact answer to your question but perhaps you'd have better luck just grabbing the tab and ...
stackoverflow.com