Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: remove exposed function #30732

Open
elyran opened this issue May 9, 2024 · 1 comment
Open

[Feature]: remove exposed function #30732

elyran opened this issue May 9, 2024 · 1 comment

Comments

@elyran
Copy link

elyran commented May 9, 2024

馃殌 Feature Request

Currently there's page.exposeFunction().
We need page.removeExposedFunction().

I saw #30422 , but removeExposedFunction is crucial for testing.

Example

No response

Motivation

it would enable event based testing which is crucial to us.

@elyran
Copy link
Author

elyran commented May 9, 2024

alternatively, just replace the function, without the Function "xyz" has been already registered error it currently throws.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants