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: 'download',
  context: 'context',
  navigation: {wire_key: 'navigation', nullable: true},
  timestamp: 'timestamp',
  url: {wire_key: 'url', primitive: 'string'},
  user_context: {wire_key: 'userContext', required: false}
)
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: 'download',
  filepath: {wire_key: 'filepath', nullable: true, primitive: 'string'},
  context: 'context',
  navigation: {wire_key: 'navigation', nullable: true},
  timestamp: 'timestamp',
  url: {wire_key: 'url', primitive: 'string'},
  user_context: {wire_key: 'userContext', required: false}
)

Method Summary

Methods inherited from Serialization::Union

build, discriminator, fallback, from_json, presence, variants