Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit a74175d

Browse files
tullmannsjelin
authored andcommitted
chore(docs): fix several minor typos in comments
1 parent 0d091de commit a74175d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

docs/locators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ element.all(by.css('.selector')).then(function(elements) {
102102
// Number of elements.
103103
element.all(locator).count();
104104

105-
// Get my index (starting at 0).
105+
// Get by index (starting at 0).
106106
element.all(locator).get(index);
107107

108108
// First and last.

docs/referenceConf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ exports.config = {
108108
browserName: 'chrome',
109109

110110
// Name of the process executing this capability. Not used directly by
111-
// protractor or the browser, but instead pass directly to third patries
111+
// protractor or the browser, but instead pass directly to third parties
112112
// like SauceLabs as the name of the job running this test
113113
name: 'Unnamed Job',
114114

docs/server-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ In your config file, set these options:
6969

7070
Please note that if you set `sauceUser` and `sauceKey`, the settings for `seleniumServerJar`, `seleniumPort` and `seleniumArgs` will be ignored.
7171

72-
You can optionally set the [`name` property](referenceConf.js#L113) in a capability in order to give the jobs a name on the server. Otherwise they will just be called `Unanmed Job`.
72+
You can optionally set the [`name` property](referenceConf.js#L113) in a capability in order to give the jobs a name on the server. Otherwise they will just be called `Unnamed Job`.
7373

7474

7575
Connecting Directly to Browser Drivers

lib/clientsidescripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ functions.setLocation = function(selector, url) {
651651
* that is not an instance of the Error type into an Error type. If we
652652
* don't do so, then the resulting stack trace is completely unhelpful
653653
* and the exception message is just "unknown error." These types of
654-
* exceptins are the common case for dart2js code. This wrapping gives
654+
* exceptions are the common case for dart2js code. This wrapping gives
655655
* us the Dart stack trace and exception message.
656656
*/
657657
var util = require('util');

lib/expectedConditions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var webdriver = require('selenium-webdriver');
2323
* browser.wait(isClickable, 5000); //wait for an element to become clickable
2424
* button.click();
2525
*
26-
* // You can defined your own expected condition, which is a function that
26+
* // You can define your own expected condition, which is a function that
2727
* // takes no parameter and evaluates to a promise of a boolean.
2828
* var urlChanged = function() {
2929
* return browser.getCurrentUrl().then(function(url) {

plugins/ngHint/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var q = require('q'),
3333
*/
3434

3535
/*
36-
* The stratagy for this plugin is as follows:
36+
* The strategy for this plugin is as follows:
3737
*
3838
* During setup, install the ngHint code and listeners to capture its output.
3939
* Store the output in the following format:

0 commit comments

Comments
 (0)