class Webdriver::Windows

Included Modules

Defined in:

webdriver/windows.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(collection : Array(Window), command : Command) #

[View source]

Instance Method Detail

def [](index : Int) #

[View source]
def command : Webdriver::Command #

[View source]
def each(&) #
Description copied from module Enumerable(Webdriver::Window)

Must yield this collection's elements to the block.


[View source]
def new #

[View source]
def remove(window : Window) #

[View source]
def resize(rect : Rect) #

[View source]
def resize(*, width : Int32 | Nil, height : Int32 | Nil, x : Int32 | Nil, y : Int32 | Nil) #

[View source]
def size #
Description copied from module Enumerable(Webdriver::Window)

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4

[View source]