INNER CODE UNIT · Ruby

initialize

rubycdp/ferrum · lib/ferrum/client.rb:37

    def initialize(client, session_id)
      @client = client
      @session_id = session_id
    end

    #
    # Sends a CDP command scoped to this session.
    #
    # @param [String] method
    #   The CDP method name, e.g. `"Page.navigate"`.
    #
    # @param [Boolean] async
    #   Whether to send the command without waiting for a response.
    #
    # @param [Hash] params
    #   The command's parameters.
    #
    # @param [Numeric, nil] timeout

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…