enum Marionette::LocationStrategy
Defined in:
marionette/location_stategy.crEnum Members
-
Class =
0
-
Search using a the HTML
class
property of a given element. -
ClassName =
1
-
Search using a the HTML
class
property of a given element. -
Css =
2
-
Search using a standard CSS selector. (i.e.
#some-element li:nth-child(2) > a
) -
ID =
3
-
Search using the HTML
id
property of the given element. -
Link =
4
-
Use the text of a given link to search.
-
LinkText =
5
-
Use the text of a given link to search.
-
Name =
6
-
Search using the HTML
name
property of the given element. -
PartialLinkText =
7
-
Use only some of a given link's text to search.
-
Relative =
8
-
Search using a relative location strategy.
-
TagName =
9
-
Search using a tag name (i.e.
div
orspan
) -
Xpath =
10
-
Search using an XPath expression. Here is a helpful XPath cheatsheet.
-
Text =
11
-
Search using the exact text content of an element.
-
PartialText =
12
-
Search using the partial text content of an element.
Class Method Summary
Instance Method Summary
- #class?
- #class_name?
- #convert_locator(what)
- #css?
- #id?
- #link?
- #link_text?
- #name?
- #partial_link_text?
- #partial_text?
- #relative?
- #tag_name?
- #text?
- #xpath?