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

docs(page_objects): Remove unnecessary "return await" #4732

Merged
merged 2 commits into from
Mar 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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