Class: Selenium::WebDriver::BiDi::Browser::Window Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/browser.rb

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#activeObject

Returns the value of attribute active

Returns:

  • (Object)

    the current value of active



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def active
  @active
end

#handleObject

Returns the value of attribute handle

Returns:

  • (Object)

    the current value of handle



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def handle
  @handle
end

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def height
  @height
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def state
  @state
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def width
  @width
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



31
32
33
# File 'lib/selenium/webdriver/bidi/browser.rb', line 31

def y
  @y
end

Instance Method Details

#active?Boolean

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.

Returns:

  • (Boolean)


32
33
34
# File 'lib/selenium/webdriver/bidi/browser.rb', line 32

def active?
  active
end