Same Origin policy prohibits JavaScript code from accessing elements from a domain that is different from where it was launched.
A server that will act as an HTTP proxy to “trick” the browser into believing that Selenium Core and the web application being tested come from the same domain.
WebDriver, unlike Selenium RC, does not rely on JavaScript for automation. It controls the browser by directly communicating to it.