Lines Matching refs:element

18  * Represents an HTML element.
53 * Clear content editable or resettable element
68 * Click this element.
81 // if the first child is a block-level element.
82 // The workaround in this case is to click on a child element.
90 * Find the first WebDriverElement within this element using the given mechanism.
94 * Use ".//" to limit your search to the children of this element.
97 * @return RemoteWebElement NoSuchElementException is thrown in HttpCommandExecutor if no element is found.
114 * Find all WebDriverElements within this element using the given mechanism.
118 * Use ".//" to limit your search to the children of this element.
143 * Get the value of the given attribute of the element.
144 * Attribute is meant what is declared in the HTML markup of the element.
148 * @return string|true|null The value of the attribute. If this is boolean attribute, return true if the element
178 * Gets the value of a IDL JavaScript property of this element (for example `innerHTML`, `tagName` etc.).
219 * Get the location of element relative to the top-left corner of the page.
221 * @return WebDriverPoint The location of the element.
234 * Try scrolling the element into the view port and return the location of
235 * element relative to the top-left corner of the page afterwards.
237 * @return WebDriverPoint The location of the element.
269 $element = $this;
272 $in_view_port = static function () use ($element) {
273 return $element->getLocationOnScreenOnceScrolledIntoView();
275 $on_page = static function () use ($element) {
276 return $element->getLocation();
289 * Get the size of element.
291 * @return WebDriverDimension The dimension of the element.
304 * Get the (lowercase) tag name of this element.
321 * Get the visible (i.e. not hidden by CSS) innerText of this element,
324 * @return string The visible innerText of this element.
335 * Is this element displayed or not? This method avoids the problem of having
336 * to parse an element's "style" attribute.
349 * Is the element currently enabled or not? This will generally return true
363 * Determine whether this element is selected or not.
376 * Simulate typing into an element, which may set its value.
439 * eg. `$element->setFileDetector(new LocalFileDetector);`
455 * If this current element is a form, or an element within a form, then this will be submitted to the remote server.
466 while (form.nodeName !== "FORM" && form.parentNode) { // find the parent form of this element
470 throw Error('Unable to find containing form element');
494 * Get the opaque ID of the element.
504 * Take a screenshot of a specific element.
532 * Test if two elements IDs refer to the same DOM element.
550 * Attempt to click on a child level element.
552 * This provides a workaround for geckodriver bug 653 whereby a link whose first element is a block-level element
555 * The workaround provided here attempts to click on a child node of the element.
568 // Where the element is hidden, all children will also be hidden.