browser-extensions-playground
    Preparing search index...

    Function createDomCaptureFromDocument

    • Parameters

      • provider: ProviderExtractor
      • doc: Document
      • capturedAt: string = ...

        ISO 8601 timestamp for the capture. Defaults to new Date().toISOString() evaluated at call time, so two calls without an explicit value will produce different timestamps even for the same page. Pass a shared timestamp when comparing or deduplicating captures.

      Returns DomCapture