INNER CODE UNIT · Ruby

reset

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

    def reset
      contexts.reset
    end

    #
    # Restarts the browser process, keeping the same options.
    #
    def restart
      quit
      start
    end

    #
    # Terminates the browser process and closes the client connection.
    #
    # @param [Boolean] wait
    #   Whether to block until the process is confirmed dead and its user
    #   data directory removed (the default), or return immediately and run

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…