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

Commit

Permalink
docs(error): Add link to docs to error message for browser.get. (#3729)
Browse files Browse the repository at this point in the history
  • Loading branch information
heathkit authored Nov 10, 2016
1 parent b00f685 commit 7ba06ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,11 @@ export class ProtractorBrowser extends Webdriver {
let angularVersion = angularTestResult.ver;
if (!angularVersion) {
let message = angularTestResult.message;
logger.error(`Could not find Angular on page ${destination} : ${message}`);
throw new Error(
'Angular could not be found on the page ' + destination + ' : ' + message);
`Angular could not be found on the page ${destination}. If this is not an ` +
`Angular application, you may need to turn off waiting for Angular. Please ` +
`see https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular-on-page-load`);
}
return angularVersion;
},
Expand Down

0 comments on commit 7ba06ff

Please sign in to comment.