You are here

public function ElementInterface::find in Zircon Profile 8.0

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

Finds first element with specified selector inside the current element.

Parameters

string $selector selector engine name:

string|array $locator selector locator:

Return value

NodeElement|null

See also

ElementInterface::findAll for the supported selectors

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

File

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

Class

ElementInterface
Element interface.

Namespace

Behat\Mink\Element

Code

public function find($selector, $locator);