Apart from “same origin policy” restriction from js, Selenium is also restricted from exercising anything that is outside browser.