INNER CODE UNIT · Ruby

quit

rubycdp/ferrum · lib/ferrum/browser.rb:248

    def quit(wait: true)
      return unless @client

      contexts&.close_connections

      @client.close
      thread = @process.stop(wait: wait)
      @client = @process = @contexts = nil
      thread
    end

    #
    # Crashes browser.
    #
    def crash
      command("Browser.crash")
    end

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…