Sha256: fed8d27d35e9b48ff6371f257d05b0d9dd8160aad5742a75314dce190e6a73ad

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module Puppeteer
  class Browser
    def new_page: -> Page
  end

  class Page
    def goto: (String url) -> Response
    def content=: (String) -> void
    def screenshot:(?path: String) -> String
  end

  type channelName = 'chrome' | 'chrome-beta' | 'chrome-dev' | 'chrome-canary' | 'msedge' | 'firefox'
  type launchArgs = Array[String]
  def self.launch: (?headless: bool, ?channel: channelName, ?executable_path: string, args: launchArgs) ?{ (Browser) -> void } -> Browser
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppeteer-ruby-0.45.2.alpha1 sig/puppeteer-ruby.rbs