class Selenium::WebDriver::ShadowRoot
def ==(other)
def ==(other) other.is_a?(self.class) && ref == other.ref end
def as_json(*)
def as_json(*) {ROOT_KEY => @id} end
def hash
def hash [@id, @bridge].hash end
def initialize(bridge, id)
def initialize(bridge, id) @bridge = bridge @id = id end
def inspect
def inspect format '#<%<class>s:0x%<hash>x id=%<id>s>', class: self.class, hash: hash * 2, id: @id.inspect end
def ref
def ref [:shadow_root, @id] end
def to_json(*)
def to_json(*) JSON.generate as_json end