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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Natively flush Chrome localstorage for the domain #22

Draft
wants to merge 1 commit into
base: upstream-main
Choose a base branch
from

Conversation

acoulton
Copy link
Member

Now that the driver always starts on about:blank, it's not possible to use javascript to flush localstorage from a hook because it's not on the right domain.

Fortunately devtools protocol exposes a command for this.

  • needs a test

Now that the driver always starts on about:blank, it's not
possible to use javascript to flush localstorage from a
hook because it's not on the right domain.

Fortunately devtools protocol exposes a command for this.
@acoulton acoulton changed the base branch from ingen-main-2 to upstream-main October 17, 2024 12:04
acoulton added a commit that referenced this pull request Oct 17, 2024
Squashed commit of the following:

commit fd1a98b
Author: acoulton <andrew@ingenerator.com>
Date:   Tue May 17 10:13:25 2022 +0100

    Natively flush Chrome localstorage for the domain

    Now that the driver always starts on about:blank, it's not
    possible to use javascript to flush localstorage from a
    hook because it's not on the right domain.

    Fortunately devtools protocol exposes a command for this.
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.

1 participant