Class: Selenium::WebDriver::BiDi::Protocol::BrowsingContext::DownloadEndParams Private

Inherits:
Serialization::Union
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/protocol/browsing_context.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

CanceledParams =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  status: {fixed: 'canceled'},
  download: {wire_key: 'download', primitive: 'string'},
  context: {wire_key: 'context', primitive: 'string'},
  navigation: {wire_key: 'navigation', nullable: true, primitive: 'string'},
  timestamp: {wire_key: 'timestamp', primitive: 'integer'},
  url: {wire_key: 'url', primitive: 'string'},
  user_context: {wire_key: 'userContext', required: false, primitive: 'string'}
)
CompleteParams =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  status: {fixed: 'complete'},
  download: {wire_key: 'download', primitive: 'string'},
  filepath: {wire_key: 'filepath', nullable: true, primitive: 'string'},
  context: {wire_key: 'context', primitive: 'string'},
  navigation: {wire_key: 'navigation', nullable: true, primitive: 'string'},
  timestamp: {wire_key: 'timestamp', primitive: 'integer'},
  url: {wire_key: 'url', primitive: 'string'},
  user_context: {wire_key: 'userContext', required: false, primitive: 'string'}
)

Class Method Summary collapse

Methods inherited from Serialization::Union

build, discriminator, fallback, from_json, object_only, presence, scalar_values, valid_outbound?, variants

Class Method Details

.canceledObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



537
# File 'lib/selenium/webdriver/bidi/protocol/browsing_context.rb', line 537

def self.canceled(**) = BrowsingContext::DownloadEndParams::CanceledParams.new(**)

.completeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



538
# File 'lib/selenium/webdriver/bidi/protocol/browsing_context.rb', line 538

def self.complete(**) = BrowsingContext::DownloadEndParams::CompleteParams.new(**)