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

Commit

Permalink
docs(page_objects): Remove unnecessary "await" and "async" (#4732)
Browse files Browse the repository at this point in the history
* docs(page_objects): Remove unnecessary "await" and "async"
  • Loading branch information
Jon Hermansen authored and qiyigg committed Mar 21, 2018
1 parent 4898db0 commit 9348ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/page-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ var AngularHomepage = function() {
await nameInput.sendKeys(name);
};

this.getGreetingText = async function() {
return await greeting.getText();
this.getGreetingText = function() {
return greeting.getText();
};

// Not async, returns the element
Expand Down

0 comments on commit 9348ccf

Please sign in to comment.