class PageObject::Elements::Canvas
Public Instance Methods
height()
click to toggle source
return the height of the canvas
# File lib/page-object/elements/canvas.rb, line 15 def height attribute(:height).to_i end
width()
click to toggle source
return the width of the canvas
# File lib/page-object/elements/canvas.rb, line 8 def width attribute(:width).to_i end