Fixed "must be an instance of string, string given" error in WebDriverExpectedCondition.php

PHP type hinting does not work for strings.
Merge pull request #67 from davidsickmiller/patch-1

Fixed "must be an instance of string, string given" error in WebDriverEx...
Get session from WebDriverCommandExecutor
Implemented WebDriverExpectedCondition:alertIsPresent()

Ported this function from the Java API: http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html#alertIsPresent()
Merge pull request #68 from davidsickmiller/patch-2

Implemented WebDriverExpectedCondition:alertIsPresent()
Scrolling the WebDriverElement into the view port

Try scrolling the element into the view port and return the
location of element relative to the top-left corner of the page
afterwards.

$position_after_scrolling =
  $element->getLocationOnScreenOnceScrolledIntoView();

Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
[WebDriverKeys]

Adding a class containing pressable keys that aren't text.
These are stored in the Unicode PUA (Private Use Area) code points.
Constucting WebDriverWait in WebDriver

$driver->wait(20, 500)->until(this);
$driver->wait(10, 250)->until(that);

instead of

$this_wait = new WebDriverWait($driver, 20, 500);
$this_wait->until(this);
$that_wait = new WebDriverWait($driver, 10, 250);
$that_wait->until(that);
added expectation for substring of title.
Merge pull request #1 from SuperFamousGuy/in-title-expected-condition-08132013-kk

added expectation for substring of title.
changed strstr to strpos for optimization purposes.
Updated inTitle to titleContains and updated formatting by request.
updated to force a bool return
changed != to !== so that 0 != False will evaluate to False
changed False to false by request
Merge pull request #73 from SuperFamousGuy/master

TitleContains in WebDriverExpectedCondition
fix 2 bugs

1) sleep when encounter NoSuchElementWebDriverError in WebDriverWait
2) use isset() to check if $results contains 'status' in
WebDriverCommandExecutor.
Merge remote-tracking branch 'upstream/master'