struct

Selenium::ElementRect

Inherits JSON::Serializable < Struct < Value < Object

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

height
Source
height=(height : Float64 | Nil)
Source
midpoint
Source
width
Source
width=(width : Float64 | Nil)
Source
x=(x : Float64 | Nil)
Source
y=(y : Float64 | Nil)
Source