puppito
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

puppito

Start devito along with a puppeteer connection to it.

npm i puppito pnpm add puppito yarn add puppito

API

# puppeteer
# browserContexts()

# close()

    close()  =>

      Promise<void>
# createIncognitoBrowserContext(options)
# defaultBrowserContext()
# disconnect()

    disconnect()  =>

      void
# emit(event, eventData)

    # event
    # eventData

      unknown

    emit(event, eventData)  =>

      boolean
# isConnected()

    isConnected()  =>

      boolean
# listenerCount(event)

    # event

    listenerCount(event)  =>

      number
# newPage()

    newPage()  =>

# off(event, handler)
# on(event, handler)
# once(event, handler)
# pages()

    pages()  =>

# process()

    process()  =>

      null | ChildProcess
# removeAllListeners(event)
# removeListener(event, handler)
# target()
# targets()
# userAgent()

    userAgent()  =>

      Promise<string>
# version()

    version()  =>

      Promise<string>
# waitForTarget(predicate, options)

    # predicate(x)

      # x

      predicate(x)  =>

        boolean | Promise<boolean>

# options

waitForTarget(predicate, options)  =>

# wsEndpoint()

    wsEndpoint()  =>

      string
# Frame
# $$(selector)
# $$eval(selector, pageFunction, args)
# $eval(selector, pageFunction, args)
# $x(expression)

    # expression

      string

    $x(expression)  =>

# addScriptTag(options)
# addStyleTag(options)
# childFrames()

    childFrames()  =>

# click(selector, { button, clickCount, delay })

    # selector

      string

    # options

click(selector, { button, clickCount, delay })  =>

    Promise<void>
# content()

    content()  =>

      Promise<string>
# evaluate(pageFunction, args)
# evaluateHandle(pageFunction, args)
# executionContext()
# focus(selector)

    # selector

      string

    focus(selector)  =>

      Promise<void>
# goto(url, { referer, timeout, waitUntil })

goto(url, { referer, timeout, waitUntil })  =>

# hover(selector)

    # selector

      string

    hover(selector)  =>

      Promise<void>
# isDetached()

    isDetached()  =>

      boolean
# isOOPFrame()

    isOOPFrame()  =>

      boolean
# name()

    name()  =>

      string
# page()
# parentFrame()

    parentFrame()  =>

# select(selector, values)

    # selector

      string

    # values

      string []

    select(selector, values)  =>

      Promise<string []>
# setContent(html, { timeout, waitUntil })

setContent(html, { timeout, waitUntil })  =>

    Promise<void>
# tap(selector)

    # selector

      string

    tap(selector)  =>

      Promise<void>
# title()

    title()  =>

      Promise<string>
# type(selector, text, { delay })

    # selector

      string

    # text

      string

    # options

      {

      # delay

        number

      }

type(selector, text, { delay })  =>

    Promise<void>
# url()

    url()  =>

      string
# waitForFunction(pageFunction, options, args)
# waitForNavigation({ timeout, waitUntil })

waitForNavigation({ timeout, waitUntil })  =>

# waitForSelector(selector, options)
# waitForTimeout(milliseconds)

    # milliseconds

      number

    waitForTimeout(milliseconds)  =>

      Promise<void>
# waitForXPath(xpath, options)
# Page
# $$(selector)
# $$eval(selector, pageFunction, args)
# $eval(selector, pageFunction, args)
# $x(expression)

    # expression

      string

    $x(expression)  =>

# addListener(event, handler)
# addScriptTag({ content, id, path, type, url })

    # options

      {

      # content

        string

      # id

        string

      # path

        string

      # type

        string

      # url

        string

      }

addScriptTag({ content, id, path, type, url })  =>

# addStyleTag({ content, path, url })

    # options

      {

      # content

        string

      # path

        string

      # url

        string

      }

addStyleTag({ content, path, url })  =>

# authenticate(credentials)

    # credentials

    authenticate(credentials)  =>

      Promise<void>
# bringToFront()

    bringToFront()  =>

      Promise<void>
# browser()
# browserContext()
# click(selector, { button, clickCount, delay })

    # selector

      string

    # options

click(selector, { button, clickCount, delay })  =>

    Promise<void>
# close({ runBeforeUnload })

    # options

      {

      # runBeforeUnload

        boolean

      }

close({ runBeforeUnload })  =>

    Promise<void>
# content()

    content()  =>

      Promise<string>
# cookies(urls)

    # urls

      string []

    cookies(urls)  =>

# createPDFStream(options)

    # options

    createPDFStream(options)  =>

      Promise<Readable>
# deleteCookie(cookies)
# emit(event, eventData)

    # event
    # eventData

      unknown

    emit(event, eventData)  =>

      boolean
# emulate({ userAgent, viewport })

emulate({ userAgent, viewport })  =>

    Promise<void>
# emulateCPUThrottling(factor)

    # factor

      null | number

    emulateCPUThrottling(factor)  =>

      Promise<void>
# emulateIdleState({ isScreenUnlocked, isUserActive })

    # overrides

      {

      # isScreenUnlocked

        boolean

      # isUserActive

        boolean

      }

emulateIdleState({ isScreenUnlocked, isUserActive })  =>

    Promise<void>
# emulateMediaFeatures(features)

    # features

    emulateMediaFeatures(features)  =>

      Promise<void>
# emulateMediaType(type)

    # type

      string

    emulateMediaType(type)  =>

      Promise<void>
# emulateNetworkConditions(networkConditions)

    # networkConditions

    emulateNetworkConditions(networkConditions)  =>

      Promise<void>
# emulateTimezone(timezoneId)

    # timezoneId

      string

    emulateTimezone(timezoneId)  =>

      Promise<void>
# emulateVisionDeficiency(type)

    # type

      "none" | "achromatopsia" | "blurredVision" | "deuteranopia" | "protanopia" | "tritanopia"

    emulateVisionDeficiency(type)  =>

      Promise<void>
# evaluate(pageFunction, args)
# evaluateHandle(pageFunction, args)
# evaluateOnNewDocument(pageFunction, args)

    # pageFunction
    # args

    evaluateOnNewDocument<Params, Func>(pageFunction, args)  =>

      Promise<void>
# exposeFunction(name, pptrFunction)

    # name

      string

    # pptrFunction

      Function | {

      # default

        Function

      }

exposeFunction(name, pptrFunction)  =>

    Promise<void>
# focus(selector)

    # selector

      string

    focus(selector)  =>

      Promise<void>
# frames()
# goBack(options)
# goForward(options)
# goto(url, options)

goto(url, options)  =>

# hover(selector)

    # selector

      string

    hover(selector)  =>

      Promise<void>
# isClosed()

    isClosed()  =>

      boolean
# isDragInterceptionEnabled()

    isDragInterceptionEnabled()  =>

      boolean
# isJavaScriptEnabled()

    isJavaScriptEnabled()  =>

      boolean
# listenerCount(event)

    # event

    listenerCount(event)  =>

      number
# mainFrame()
# metrics()
# off(eventName, handler)

off<K>(eventName, handler)  =>

# on(eventName, handler)

on<K>(eventName, handler)  =>

# once(eventName, handler)

once<K>(eventName, handler)  =>

# pdf(options)

    # options

    pdf(options)  =>

      Promise<Buffer>
# queryObjects(prototypeHandle)
# reload(options)
# removeAllListeners(event)
# removeListener(event, handler)
# screenshot(options)
# select(selector, values)

    # selector

      string

    # values

      string []

    select(selector, values)  =>

      Promise<string []>
# setBypassCSP(enabled)

    # enabled

      boolean

    setBypassCSP(enabled)  =>

      Promise<void>
# setCacheEnabled(enabled)

    # enabled

      boolean

    setCacheEnabled(enabled)  =>

      Promise<void>
# setContent(html, options)

    # html

      string

    # options

    setContent(html, options)  =>

      Promise<void>
# setCookie(cookies)

    # cookies

    setCookie(cookies)  =>

      Promise<void>
# setDefaultNavigationTimeout(timeout)

    # timeout

      number

    setDefaultNavigationTimeout(timeout)  =>

      void
# setDefaultTimeout(timeout)

    # timeout

      number

    setDefaultTimeout(timeout)  =>

      void
# setDragInterception(enabled)

    # enabled

      boolean

    setDragInterception(enabled)  =>

      Promise<void>
# setExtraHTTPHeaders(headers)

    # headers

      Record<string, string>

    setExtraHTTPHeaders(headers)  =>

      Promise<void>
# setGeolocation(options)
# setJavaScriptEnabled(enabled)

    # enabled

      boolean

    setJavaScriptEnabled(enabled)  =>

      Promise<void>
# setOfflineMode(enabled)

    # enabled

      boolean

    setOfflineMode(enabled)  =>

      Promise<void>
# setRequestInterception(value)

    # value

      boolean

    setRequestInterception(value)  =>

      Promise<void>
# setUserAgent(userAgent, userAgentMetadata)

    # userAgent

      string

    # userAgentMetadata

    setUserAgent(userAgent, userAgentMetadata)  =>

      Promise<void>
# setViewport(viewport)

    # viewport

    setViewport(viewport)  =>

      Promise<void>
# tap(selector)

    # selector

      string

    tap(selector)  =>

      Promise<void>
# target()
# title()

    title()  =>

      Promise<string>
# type(selector, text, { delay })

    # selector

      string

    # text

      string

    # options

      {

      # delay

        number

      }

type(selector, text, { delay })  =>

    Promise<void>
# url()

    url()  =>

      string
# viewport()
# waitForFileChooser(options)
# waitForFrame(urlOrPredicate, { timeout })

    # urlOrPredicate

      string |

      # (frame)

        # frame

        (frame)  =>

          boolean | Promise<boolean>

# options

    {

    # timeout

      number

    }

waitForFrame(urlOrPredicate, { timeout })  =>

# waitForFunction(pageFunction, { polling, timeout }, args)

    # pageFunction
    # options

      {

      # polling

        string | number

      # timeout

        number

      }

# args

waitForFunction<Params, Func extends  EvaluateFunc<Params>>(pageFunction, { polling, timeout }, args)  =>

# waitForNavigation(options)
# waitForNetworkIdle({ idleTime, timeout })

    # options

      {

      # idleTime

        number

      # timeout

        number

      }

waitForNetworkIdle({ idleTime, timeout })  =>

    Promise<void>
# waitForRequest(urlOrPredicate, { timeout })

    # urlOrPredicate

      string |

      # (req)

# options

    {

    # timeout

      number

    }

waitForRequest(urlOrPredicate, { timeout })  =>

# waitForResponse(urlOrPredicate, { timeout })

    # urlOrPredicate

      string |

      # (res)

# options

    {

    # timeout

      number

    }

waitForResponse(urlOrPredicate, { timeout })  =>

# waitForSelector(selector, options)
# waitForTimeout(milliseconds)

    # milliseconds

      number

    waitForTimeout(milliseconds)  =>

      Promise<void>
# waitForXPath(xpath, { hidden, timeout, visible })

    # xpath

      string

    # options

      {

      # hidden

        boolean

      # timeout

        number

      # visible

        boolean

      }

waitForXPath(xpath, { hidden, timeout, visible })  =>

# workers()
# Protocol

    # Accessibility

      # AXNode
      # AXProperty
      # AXRelatedNode

        # backendDOMNodeId

          number

        # idref

          string

        # text

          string

      # AXValue
      # AXValueSource
      # GetAXNodeAndAncestorsRequest

        # backendNodeId

          number

        # nodeId

          number

        # objectId

          string

      # GetAXNodeAndAncestorsResponse
      # GetChildAXNodesRequest

        # frameId

          string

        # id

          string

      # GetChildAXNodesResponse
      # GetFullAXTreeRequest

        # depth

          number

        # frameId

          string

      # GetFullAXTreeResponse
      # GetPartialAXTreeRequest

        # backendNodeId

          number

        # fetchRelatives

          boolean

        # nodeId

          number

        # objectId

          string

      # GetPartialAXTreeResponse
      # GetRootAXNodeRequest

        # frameId

          string

      # GetRootAXNodeResponse
      # LoadCompleteEvent
      # NodesUpdatedEvent
      # QueryAXTreeRequest

        # accessibleName

          string

        # backendNodeId

          number

        # nodeId

          number

        # objectId

          string

        # role

          string

      # QueryAXTreeResponse
      # AXNodeId

        string

      # AXPropertyName

        "busy" | "disabled" | "editable" | "focusable" | "focused" | "hidden" | "hiddenRoot" | "invalid" | "keyshortcuts" | "settable" | "roledescription" | "live" | "atomic" | "relevant" | "root" | "autocomplete" | "hasPopup" | "level" | "multiselectable" | "orientation" | "multiline" | "readonly" | "required" | "valuemin" | "valuemax" | "valuetext" | "checked" | "expanded" | "modal" | "pressed" | "selected" | "activedescendant" | "controls" | "describedby" | "details" | "errormessage" | "flowto" | "labelledby" | "owns"

      # AXValueNativeSourceType

        "description" | "figcaption" | "label" | "labelfor" | "labelwrapped" | "legend" | "rubyannotation" | "tablecaption" | "title" | "other"

      # AXValueSourceType

        "attribute" | "implicit" | "style" | "contents" | "placeholder" | "relatedElement"

      # AXValueType

        "boolean" | "tristate" | "booleanOrUndefined" | "idref" | "idrefList" | "integer" | "node" | "nodeList" | "number" | "string" | "computedString" | "token" | "tokenList" | "domRelation" | "role" | "internalRole" | "valueUndefined"

    # Animation

      # AnimationType

        # CSSAnimation

          "CSSAnimation"

        # CSSTransition

          "CSSTransition"

        # WebAnimation

          "WebAnimation"

      # Animation

        # cssId

          string

        # currentTime

          number

        # id

          string

        # name

          string

        # pausedState

          boolean

        # playState

          string

        # playbackRate

          number

        # source
        # startTime

          number

        # type

          "CSSTransition" | "CSSAnimation" | "WebAnimation"

      # AnimationCanceledEvent

        # id

          string

      # AnimationCreatedEvent

        # id

          string

      # AnimationEffect

        # backendNodeId

          number

        # delay

          number

        # direction

          string

        # duration

          number

        # easing

          string

        # endDelay

          number

        # fill

          string

        # iterationStart

          number

        # iterations

          number

        # keyframesRule

      # AnimationStartedEvent
      # GetCurrentTimeRequest

        # id

          string

      # GetCurrentTimeResponse

        # currentTime

          number

      # GetPlaybackRateResponse

        # playbackRate

          number

      # KeyframeStyle

        # easing

          string

        # offset

          string

      # KeyframesRule
      # ReleaseAnimationsRequest

        # animations

          string []

      # ResolveAnimationRequest

        # animationId

          string

      # ResolveAnimationResponse
      # SeekAnimationsRequest

        # animations

          string []

        # currentTime

          number

      # SetPausedRequest

        # animations

          string []

        # paused

          boolean

      # SetPlaybackRateRequest

        # playbackRate

          number

      # SetTimingRequest

        # animationId

          string

        # delay

          number

        # duration

          number

    # Audits

      # GetEncodedResponseRequestEncoding

        # Jpeg

          "jpeg"

        # Png

          "png"

        # Webp

          "webp"

      # AffectedCookie

        # domain

          string

        # name

          string

        # path

          string

      # AffectedFrame

        # frameId

          string

      # AffectedRequest

        # requestId

          string

        # url

          string

      # AttributionReportingIssueDetails
      # BlockedByResponseIssueDetails
      # CheckContrastRequest

        # reportAAA

          boolean

      # ClientHintIssueDetails
      # ContentSecurityPolicyIssueDetails
      # CookieIssueDetails
      # CorsIssueDetails
      # DeprecationIssueDetails
      # FederatedAuthRequestIssueDetails
      # GenericIssueDetails

        # errorType

          "CrossOriginPortalPostMessageError"

        # frameId

          string

      # GetEncodedResponseRequest

        # encoding

          "webp" | "jpeg" | "png"

        # quality

          number

        # requestId

          string

        # sizeOnly

          boolean

      # GetEncodedResponseResponse

        # body

          string

        # encodedSize

          number

        # originalSize

          number

      # HeavyAdIssueDetails
      # InspectorIssue
      # InspectorIssueDetails
      # IssueAddedEvent
      # LowTextContrastIssueDetails

        # contrastRatio

          number

        # fontSize

          string

        # fontWeight

          string

        # thresholdAA

          number

        # thresholdAAA

          number

        # violatingNodeId

          number

        # violatingNodeSelector

          string

      # MixedContentIssueDetails
      # NavigatorUserAgentIssueDetails
      # QuirksModeIssueDetails

        # documentNodeId

          number

        # frameId

          string

        # isLimitedQuirksMode

          boolean

        # loaderId

          string

        # url

          string

      # SharedArrayBufferIssueDetails
      # SourceCodeLocation

        # columnNumber

          number

        # lineNumber

          number

        # scriptId

          string

        # url

          string

      # TrustedWebActivityIssueDetails
      # AttributionReportingIssueType

        "PermissionPolicyDisabled" | "AttributionSourceUntrustworthyOrigin" | "AttributionUntrustworthyOrigin" | "InvalidHeader"

      # BlockedByResponseReason

        "CoepFrameResourceNeedsCoepHeader" | "CoopSandboxedIFrameCannotNavigateToCoopPage" | "CorpNotSameOrigin" | "CorpNotSameOriginAfterDefaultedToSameOriginByCoep" | "CorpNotSameSite"

      # ClientHintIssueReason

        "MetaTagAllowListInvalidOrigin" | "MetaTagModifiedHTML"

      # ContentSecurityPolicyViolationType

        "kInlineViolation" | "kEvalViolation" | "kURLViolation" | "kTrustedTypesSinkViolation" | "kTrustedTypesPolicyViolation" | "kWasmEvalViolation"

      # CookieExclusionReason

        "ExcludeSameSiteUnspecifiedTreatedAsLax" | "ExcludeSameSiteNoneInsecure" | "ExcludeSameSiteLax" | "ExcludeSameSiteStrict" | "ExcludeInvalidSameParty" | "ExcludeSamePartyCrossPartyContext"

      # CookieOperation

        "SetCookie" | "ReadCookie"

      # CookieWarningReason

        "WarnSameSiteUnspecifiedCrossSiteContext" | "WarnSameSiteNoneInsecure" | "WarnSameSiteUnspecifiedLaxAllowUnsafe" | "WarnSameSiteStrictLaxDowngradeStrict" | "WarnSameSiteStrictCrossDowngradeStrict" | "WarnSameSiteStrictCrossDowngradeLax" | "WarnSameSiteLaxCrossDowngradeStrict" | "WarnSameSiteLaxCrossDowngradeLax" | "WarnAttributeValueExceedsMaxSize"

      # DeprecationIssueType

        "AuthorizationCoveredByWildcard" | "CanRequestURLHTTPContainingNewline" | "ChromeLoadTimesConnectionInfo" | "ChromeLoadTimesFirstPaintAfterLoadTime" | "ChromeLoadTimesWasAlternateProtocolAvailable" | "CookieWithTruncatingChar" | "CrossOriginAccessBasedOnDocumentDomain" | "CrossOriginWindowAlert" | "CrossOriginWindowConfirm" | "CSSSelectorInternalMediaControlsOverlayCastButton" | "DeprecationExample" | "DocumentDomainSettingWithoutOriginAgentClusterHeader" | "EventPath" | "GeolocationInsecureOrigin" | "GeolocationInsecureOriginDeprecatedNotRemoved" | "GetUserMediaInsecureOrigin" | "HostCandidateAttributeGetter" | "IdentityInCanMakePaymentEvent" | "InsecurePrivateNetworkSubresourceRequest" | "LegacyConstraintGoogIPv6" | "LocalCSSFileExtensionRejected" | "MediaSourceAbortRemove" | "MediaSourceDurationTruncatingBuffered" | "NoSysexWebMIDIWithoutPermission" | "NotificationInsecureOrigin" | "NotificationPermissionRequestedIframe" | "ObsoleteWebRtcCipherSuite" | "OpenWebDatabaseInsecureContext" | "PictureSourceSrc" | "PrefixedCancelAnimationFrame" | "PrefixedRequestAnimationFrame" | "PrefixedStorageInfo" | "PrefixedVideoDisplayingFullscreen" | "PrefixedVideoEnterFullscreen" | "PrefixedVideoEnterFullScreen" | "PrefixedVideoExitFullscreen" | "PrefixedVideoExitFullScreen" | "PrefixedVideoSupportsFullscreen" | "RangeExpand" | "RequestedSubresourceWithEmbeddedCredentials" | "RTCConstraintEnableDtlsSrtpFalse" | "RTCConstraintEnableDtlsSrtpTrue" | "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics" | "RTCPeerConnectionSdpSemanticsPlanB" | "RtcpMuxPolicyNegotiate" | "SharedArrayBufferConstructedWithoutIsolation" | "TextToSpeech_DisallowedByAutoplay" | "V8SharedArrayBufferConstructedInExtensionWithoutIsolation" | "XHRJSONEncodingDetection" | "XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload" | "XRSupportsSession"

      # FederatedAuthRequestIssueReason

        "ApprovalDeclined" | "TooManyRequests" | "ManifestListHttpNotFound" | "ManifestListNoResponse" | "ManifestListInvalidResponse" | "ManifestNotInManifestList" | "ManifestListTooBig" | "ManifestHttpNotFound" | "ManifestNoResponse" | "ManifestInvalidResponse" | "ClientMetadataHttpNotFound" | "ClientMetadataNoResponse" | "ClientMetadataInvalidResponse" | "ClientMetadataMissingPrivacyPolicyUrl" | "DisabledInSettings" | "ErrorFetchingSignin" | "InvalidSigninResponse" | "AccountsHttpNotFound" | "AccountsNoResponse" | "AccountsInvalidResponse" | "IdTokenHttpNotFound" | "IdTokenNoResponse" | "IdTokenInvalidResponse" | "IdTokenInvalidRequest" | "ErrorIdToken" | "Canceled"

      # GenericIssueErrorType

        "CrossOriginPortalPostMessageError"

      # HeavyAdReason

        "NetworkTotalLimit" | "CpuTotalLimit" | "CpuPeakLimit"

      # HeavyAdResolutionStatus

        "HeavyAdBlocked" | "HeavyAdWarning"

      # InspectorIssueCode

        "CookieIssue" | "MixedContentIssue" | "BlockedByResponseIssue" | "HeavyAdIssue" | "ContentSecurityPolicyIssue" | "SharedArrayBufferIssue" | "TrustedWebActivityIssue" | "LowTextContrastIssue" | "CorsIssue" | "AttributionReportingIssue" | "QuirksModeIssue" | "NavigatorUserAgentIssue" | "GenericIssue" | "DeprecationIssue" | "ClientHintIssue" | "FederatedAuthRequestIssue"

      # IssueId

        string

      # MixedContentResolutionStatus

        "MixedContentBlocked" | "MixedContentAutomaticallyUpgraded" | "MixedContentWarning"

      # MixedContentResourceType

        "AttributionSrc" | "Audio" | "Beacon" | "CSPReport" | "Download" | "EventSource" | "Favicon" | "Font" | "Form" | "Frame" | "Image" | "Import" | "Manifest" | "Ping" | "PluginData" | "PluginResource" | "Prefetch" | "Resource" | "Script" | "ServiceWorker" | "SharedWorker" | "Stylesheet" | "Track" | "Video" | "Worker" | "XMLHttpRequest" | "XSLT"

      # SharedArrayBufferIssueType

        "TransferIssue" | "CreationIssue"

      # TwaQualityEnforcementViolationType

        "kHttpError" | "kUnavailableOffline" | "kDigitalAssetLinks"

    # BackgroundService

      # BackgroundServiceEvent

        # eventMetadata
        # eventName

          string

        # instanceId

          string

        # origin

          string

        # service
        # serviceWorkerRegistrationId

          string

        # timestamp

          number

      # BackgroundServiceEventReceivedEvent
      # ClearEventsRequest
      # EventMetadata

        # key

          string

        # value

          string

      # RecordingStateChangedEvent
      # SetRecordingRequest
      # StartObservingRequest
      # StopObservingRequest
      # ServiceName

        "backgroundFetch" | "backgroundSync" | "pushMessaging" | "notifications" | "paymentHandler" | "periodicBackgroundSync"

    # Browser

      # DownloadProgressEventState

        # Canceled

          "canceled"

        # Completed

          "completed"

        # InProgress

          "inProgress"

      # SetDownloadBehaviorRequestBehavior

        # Allow

          "allow"

        # AllowAndName

          "allowAndName"

        # Default

          "default"

        # Deny

          "deny"

      # Bounds

        # height

          number

        # left

          number

        # top

          number

        # width

          number

        # windowState

      # Bucket

        # count

          number

        # high

          number

        # low

          number

      # CancelDownloadRequest

        # browserContextId

          string

        # guid

          string

      # DownloadProgressEvent

        # guid

          string

        # receivedBytes

          number

        # state

          "inProgress" | "completed" | "canceled"

        # totalBytes

          number

      # DownloadWillBeginEvent

        # frameId

          string

        # guid

          string

        # suggestedFilename

          string

        # url

          string

      # ExecuteBrowserCommandRequest
      # GetBrowserCommandLineResponse

        # arguments

          string []

      # GetHistogramRequest

        # delta

          boolean

        # name

          string

      # GetHistogramResponse
      # GetHistogramsRequest

        # delta

          boolean

        # query

          string

      # GetHistogramsResponse
      # GetVersionResponse

        # jsVersion

          string

        # product

          string

        # protocolVersion

          string

        # revision

          string

        # userAgent

          string

      # GetWindowBoundsRequest

        # windowId

          number

      # GetWindowBoundsResponse
      # GetWindowForTargetRequest

        # targetId

          string

      # GetWindowForTargetResponse
      # GrantPermissionsRequest
      # Histogram

        # buckets
        # count

          number

        # name

          string

        # sum

          number

      # PermissionDescriptor

        # allowWithoutSanitization

          boolean

        # name

          string

        # panTiltZoom

          boolean

        # sysex

          boolean

        # userVisibleOnly

          boolean

      # ResetPermissionsRequest

        # browserContextId

          string

      # SetDockTileRequest

        # badgeLabel

          string

        # image

          string

      # SetDownloadBehaviorRequest

        # behavior

          "deny" | "allow" | "allowAndName" | "default"

        # browserContextId

          string

        # downloadPath

          string

        # eventsEnabled

          boolean

      # SetPermissionRequest
      # SetWindowBoundsRequest
      # BrowserCommandId

        "openTabSearch" | "closeTabSearch"

      # BrowserContextID

        string

      # PermissionSetting

        "granted" | "denied" | "prompt"

      # PermissionType

        "accessibilityEvents" | "audioCapture" | "backgroundSync" | "backgroundFetch" | "clipboardReadWrite" | "clipboardSanitizedWrite" | "displayCapture" | "durableStorage" | "flash" | "geolocation" | "midi" | "midiSysex" | "nfc" | "notifications" | "paymentHandler" | "periodicBackgroundSync" | "protectedMediaIdentifier" | "sensors" | "videoCapture" | "videoCapturePanTiltZoom" | "idleDetection" | "wakeLockScreen" | "wakeLockSystem"

      # WindowID
      # WindowState

        "normal" | "minimized" | "maximized" | "fullscreen"

    # CSS

Readme

Keywords

none

Package Sidebar

Install

npm i puppito

Weekly Downloads

34

Version

2.0.0

License

MIT

Unpacked Size

2.1 MB

Total Files

14

Last publish

Collaborators

  • stagas