Skip to content

Commit

Permalink
Typo fixes in webdriver.js documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Tolfsen <[email protected]>
  • Loading branch information
juliemr authored and andreastt committed Jun 24, 2014
1 parent 9f3a561 commit 509ed42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/webdriver/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ webdriver.WebDriver.prototype.executeScript = function(script, var_args) {
* 'var callback = arguments[arguments.length - 1];' +
* 'mailClient.getComposeWindowWidget().onload(callback);');
* driver.switchTo().frame('composeWidget');
* driver.findElement(By.id('to')).sendKEys('[email protected]');
* driver.findElement(By.id('to')).sendKeys('[email protected]');
* </pre></code>
*
* Example #3: Injecting a XMLHttpRequest and waiting for the result. In this
Expand All @@ -474,7 +474,7 @@ webdriver.WebDriver.prototype.executeScript = function(script, var_args) {
* xhr.open("GET", "/resource/data.json", true);
* xhr.onreadystatechange = function() {
* if (xhr.readyState == 4) {
* callback(xhr.resposneText);
* callback(xhr.responseText);
* }
* }
* xhr.send('');
Expand Down

0 comments on commit 509ed42

Please sign in to comment.