class Webdriver::Windows

Included Modules

Defined in:

webdriver/windows.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def [](index : Int) #

def command : Webdriver::Command #

def each(&) #
Description copied from module Enumerable(Webdriver::Window)

Must yield this collection's elements to the block.


def new #

def remove(window : Window) #

def resize(rect : Rect) #

def resize(*, width : Int32?, height : Int32?, x : Int32?, y : Int32?) #

def size #
Description copied from module Enumerable(Webdriver::Window)

Returns the number of elements in the collection.

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