-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update methods on ElementHandle type to return Promises #49
Conversation
|
||
/** | ||
* Fetch the element's attribute value. | ||
* @param name Attribute name to get the value for. | ||
* @returns Attribute value. | ||
*/ | ||
getAttribute(name: string): string | null; | ||
getAttribute(name: string): Promise<string | null>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An update to return null
is coming soon!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfecto 🎉 Thanks a lot 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
@allansson We can merge this 👍 |
Please fill in this template.
pnpm test <package to test>
.