chromium/third_party/blink/renderer/core/testing/internals_get_named_cookie.idl

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

[
    ImplementedAs=InternalsGetNamedCookie
] partial interface Internals {
    // Get details for a cookie in the current context by name if it exists.
    // See https://w3c.github.io/webdriver/#get-named-cookie
    [CallWith=ScriptState] Promise<InternalCookie?> getNamedCookie(DOMString name);
};