Skip to content

Conversation

mxschmitt
Copy link
Member

Page.querySelectorAll called Frame.querySelectorAll which was not existing. Tests will follow in the future.

async def querySelectorAll(self, selector: str) -> List[ElementHandle]:
return list(
map(
cast(ElementHandle, from_nullable_channel),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be from_channel, there can be no nulls.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for fixing

@pavelfeldman pavelfeldman merged commit c55cdf8 into microsoft:master Jul 13, 2020
@mxschmitt mxschmitt deleted the bugfix/querySelectorAll branch July 14, 2020 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants