JasonLeyba: Frame switching support for the SafariDriver.


git-svn-id: https://selenium.googlecode.com/svn/trunk@16680 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: Correctly encoding elements in CSS is far more verbose than just
using XPath. This is basically reviving some code from the old ChromeDriver.
Yay, for version history.



git-svn-id: https://selenium.googlecode.com/svn/trunk@16683 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: It would help if I ran the tests before committing code...


git-svn-id: https://selenium.googlecode.com/svn/trunk@16684 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: Use goog.addDependency to define some types that are otherwise
undefined by the files in the SafariDriver's transitive closure of
dependencies. This allows us to fully enable error checks when compiling
the various extension components.



git-svn-id: https://selenium.googlecode.com/svn/trunk@16685 07704840-8298-11de-bf8c-fd130f914ac9
Merge branch 'master' into webdriver-support
JasonLeyba: When executing user-supplied JS, the result may contain DOM
elements that belong to another document. When this happens we need to
wait for the ownerDocument to store the element in its WebElement cache
before sending a response to the user. Unfortunately this means even
more message passing and async fun. Hopefully the code isn't too
difficult to follow now.


git-svn-id: https://selenium.googlecode.com/svn/trunk@16686 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: driver.get(url) has an implicit driver.switchTo().defaultContent().


git-svn-id: https://selenium.googlecode.com/svn/trunk@16687 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: Turns out when you send a message to a SafariBrowserTab, it is
broadcast to every frame, so we can track which frame is currently active
solely within the injected script.


git-svn-id: https://selenium.googlecode.com/svn/trunk@16688 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: When we can't find a frame we really should return NoSuchFrame
instead of NoSuchWindow.


git-svn-id: https://selenium.googlecode.com/svn/trunk@16689 07704840-8298-11de-bf8c-fd130f914ac9
FrancoisReynaud: building proxy in tests without specifying the host triggers a call to NetworkUtils for network address auto discovery, and that's really slow (5+ sec per test ). Adding -host=localhost to all unit test to make them run faster. 

git-svn-id: https://selenium.googlecode.com/svn/trunk@16691 07704840-8298-11de-bf8c-fd130f914ac9
FrancoisReynaud: follow up on r16691 for  grid:test this time. Removing calls to NetworkUtils in the unit test to make them run faster.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16692 07704840-8298-11de-bf8c-fd130f914ac9
JariBakken: Make sure Firefox shutdown happens even if the RPC fails.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16693 07704840-8298-11de-bf8c-fd130f914ac9
FrancoisReynaud: follow up on r16691 and r16692 for  grid:e2e. Removing calls to NetworkUtils in the unit test to make them run faster.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16694 07704840-8298-11de-bf8c-fd130f914ac9
FrancoisReynaud: removing the test from the regression suite as it accesses a slow external site. Need to find a replacement.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16695 07704840-8298-11de-bf8c-fd130f914ac9
FrancoisReynaud: running the grid tests in parallel. Running methods in parallel isn't safe, but classes is. 

git-svn-id: https://selenium.googlecode.com/svn/trunk@16696 07704840-8298-11de-bf8c-fd130f914ac9
JasonLeyba: Rename a field in SafariMessage.


git-svn-id: https://selenium.googlecode.com/svn/trunk@16697 07704840-8298-11de-bf8c-fd130f914ac9
DanielWagnerHall: Deleting dead code

git-svn-id: https://selenium.googlecode.com/svn/trunk@16698 07704840-8298-11de-bf8c-fd130f914ac9
DanielWagnerHall: Apparently this code wasn't quite as dead as I thought.  Which makes me really sad.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16699 07704840-8298-11de-bf8c-fd130f914ac9
DanielWagnerHall for BobSilverberg: Adding full-stack tests for the Select class.  Fixes issue 3746.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16700 07704840-8298-11de-bf8c-fd130f914ac9
DanielWagnerHall for BobSilverberg: Fix for bot.dom.getAttribute always converts style attribute to lowercase (let's see what the CI makes of this :)).  Fixes issue 1089.

git-svn-id: https://selenium.googlecode.com/svn/trunk@16703 07704840-8298-11de-bf8c-fd130f914ac9