struct Selenium::ElementRect

Overview

TODO I don't remember why I made the properties floats nor why they are nilable. If they were Int64, this could be combined with Selenium::WindowRect

Included Modules

Defined in:

selenium/element_rect.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def height : Float64 | Nil #

[View source]
def height=(height : Float64 | Nil) #

[View source]
def midpoint : Selenium::Coordinate | Nil #

[View source]
def width : Float64 | Nil #

[View source]
def width=(width : Float64 | Nil) #

[View source]
def x : Float64 | Nil #

[View source]
def x=(x : Float64 | Nil) #

[View source]
def y : Float64 | Nil #

[View source]
def y=(y : Float64 | Nil) #

[View source]