Skip to content

Commit 4fc735d

Browse files
author
Oleksandr_Halichenko
committed
removed alias assignment in page object
1 parent cc75221 commit 4fc735d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pageObjects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ export function element(path) {
8888
}
8989
method = 'find';
9090
}
91-
return current.as(path);
91+
return current;
9292
}

0 commit comments

Comments
 (0)