There's no way to set offset to an element.
here is a patch to make it work
class Element
def offset value = nil
if value.nil?
Native(self.offset()
)
else
left = value[:left].to_f
top = value[:top].to_f
Native(self.offset({left: #{left}, top: #{top}})
)
end
end
end