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

Inherits:
Serialization::Union
  • Object
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

ClientWindowNamedState =

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(
  client_window: {wire_key: 'clientWindow', primitive: 'string'},
  state: {wire_key: 'state', enum: 'Browser::CLIENT_WINDOW_NAMED_STATE_STATE'}
)
ClientWindowRectState =

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(
  state: {fixed: 'normal'},
  client_window: {wire_key: 'clientWindow', primitive: 'string'},
  width: {wire_key: 'width', required: false, primitive: 'integer'},
  height: {wire_key: 'height', required: false, primitive: 'integer'},
  x: {wire_key: 'x', required: false, primitive: 'integer'},
  y: {wire_key: 'y', required: false, primitive: 'integer'}
)

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

.normalObject

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.



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

def self.normal(**) = Browser::SetClientWindowStateParameters::ClientWindowRectState.new(**)