Skip to content

Conversation

mxschmitt
Copy link
Member

Fixes #681

not sure about a test for it.

A Set in JavaScript simply does not throw when there is no element which gets removed.

it throws here:

self._browser_context._pages.remove(self)

@mxschmitt mxschmitt requested a review from pavelfeldman May 12, 2021 15:15
@mxschmitt mxschmitt force-pushed the bugfix/persistent-context-error branch from 5a0836f to f6472a8 Compare May 12, 2021 15:42
@mxschmitt mxschmitt merged commit 6854c40 into microsoft:master May 12, 2021
YusukeIwaki added a commit to YusukeIwaki/playwright-ruby-client that referenced this pull request May 16, 2021
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.

Error accessing page and error closing browser if extension is loaded: "AttributeError: 'NoneType' object has no attribute '_pages'"
2 participants