ele_find_first | R Documentation |
Search for an element on the page
ele_find_first(x, ...) ## S3 method for class 'remoteDriver' ele_find_first(x, value, type = "css selector", ...) ## S3 method for class 'character' ele_find_first(x, type = "css selector", ...) ele_find_all(x, value, type = "css selector", ...) ## S3 method for class 'remoteDriver' ele_find_all(x, value, type = "css selector", ...) ## S3 method for class 'character' ele_find_all(x, type = "css selector", ...) getElementById(x, value, all = FALSE) getElementByName(x, value, all = FALSE) getElementByClass(x, value, all = FALSE) ele_child(x, value = "*", type = "xpath") ele_children(x, value = "*", type = "xpath") querySelector(x, ...) querySelectorAll(x, value, type = "css selector", ...)
x |
A remoteDriver object |
value |
The search target. |
type |
Locator scheme to use to search the element, available schemes:
|
Details of possible locator schemes
Returns an element whose class name contains the search value; compound class names are not permitted.
Returns an element matching a CSS selector.
Returns an element whose ID attribute matches the search value.
Returns an element whose NAME attribute matches the search value.
Returns an anchor element whose visible text matches the search value.
Returns an anchor element whose visible text partially matches the search value.
Returns an element whose tag name matches the search value.
Returns an element matching an XPath expression.
seleniumPipes::findElement()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.