Class: Selenium::WebDriver::BiDi::Protocol::Browser::DownloadBehavior Private

Inherits:
Serialization::Union show all
Defined in:
lib/selenium/webdriver/bidi/protocol/browser.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

Allowed =

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(
  type: {fixed: 'allowed'},
  destination_folder: {wire_key: 'destinationFolder', primitive: 'string'}
)
Denied =

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(type: {fixed: 'denied'})

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

.allowedObject

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.



158
# File 'lib/selenium/webdriver/bidi/protocol/browser.rb', line 158

def self.allowed(**) = Browser::DownloadBehavior::Allowed.new(**)

.deniedObject

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.



159
# File 'lib/selenium/webdriver/bidi/protocol/browser.rb', line 159

def self.denied(**) = Browser::DownloadBehavior::Denied.new(**)