Marionette::LocationStrategy
Inherits Enum / Comparable / Value / Object
Constants
Search using the HTML id property of the given element.
Search using an XPath expression. Here is a helpful XPath cheatsheet.
Use the text of a given link to search.
Use only some of a given link's text to search.
Search using the HTML name property of the given element.
Search using a tag name (i.e. div or span)
Search using a the HTML class property of a given element.
Search using a standard CSS selector. (i.e. #some-element li:nth-child(2) > a)
Instance methods
Returns a String representation of this enum member.
In the case of regular enums, this is just the name of the member.
In the case of flag enums, it's the names joined by vertical bars, or "None",
if the value is zero.
If an enum's value doesn't match a member's value, the raw value is returned as a string.
Color::Red.to_s # => "Red"
IOMode::None.to_s # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"
Color.new(10).to_s # => "10"