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

Commit 9348ccf

Browse files
Jon Hermansenqiyigg
Jon Hermansen
authored andcommitted
docs(page_objects): Remove unnecessary "await" and "async" (#4732)
* docs(page_objects): Remove unnecessary "await" and "async"
1 parent 4898db0 commit 9348ccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/page-objects.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ var AngularHomepage = function() {
6060
await nameInput.sendKeys(name);
6161
};
6262

63-
this.getGreetingText = async function() {
64-
return await greeting.getText();
63+
this.getGreetingText = function() {
64+
return greeting.getText();
6565
};
6666

6767
// Not async, returns the element

0 commit comments

Comments
 (0)