You are here

public function ElementInterface::findAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Element/ElementInterface.php \Behat\Mink\Element\ElementInterface::findAll()

Finds all elements with specified selector inside the current element.

Valid selector engines are named, xpath, css, named_partial and named_exact.

'named' is a pseudo selector engine which prefers an exact match but will return a partial match if no exact match is found. 'xpath' is a pseudo selector engine supported by SelectorsHandler.

More selector engines can be registered in the SelectorsHandler.

Parameters

string $selector selector engine name:

string|array $locator selector locator:

Return value

NodeElement[]

See also

NamedSelector for the locators supported by the named selectors

1 method overrides ElementInterface::findAll()
Element::findAll in vendor/behat/mink/src/Element/Element.php
Finds all elements with specified selector inside the current element.

File

vendor/behat/mink/src/Element/ElementInterface.php, line 100

Class

ElementInterface
Element interface.

Namespace

Behat\Mink\Element

Code

public function findAll($selector, $locator);