WebKit2.Download.prototype.get_elapsed_time

function get_elapsed_time(): Number(gdouble) {
    // Gjs wrapper for webkit_download_get_elapsed_time()
}
  

Gets the elapsed time in seconds, including any fractional part. If the download finished, had an error or was cancelled this is the time between its start and the event.

Returns

seconds since the download was started