Skip to content

Support for accessing indexDB #922

Open
@whimboo

Description

@whimboo

It would be helpful to have WebDriver BiDi support interacting with data stored using IndexedDB.

Many modern web applications, especially PWAs and offline-capable apps, make extensive use of IndexedDB to store large amounts of structured data. Current testing approaches typically require injecting JavaScript to access IndexedDB, which often involves first loading the target page — something that may not always be desirable or practical.

Having protocol-level access would enable:

  • Validating IndexedDB contents
  • Cleaning or seeding IndexedDB during tests
  • Debugging persistent storage-related bugs

Should this be part of the existing script module or its own module like storage (CDP offers a indexeddb domain)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-discussionIssues to be discussed by the working group

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions