protected function FormatterConfigurationTest::find in Video Embed Field 8.2
Same name and namespace in other branches
- 8 tests/src/Functional/FormatterConfigurationTest.php \Drupal\Tests\video_embed_field\Functional\FormatterConfigurationTest::find()
Find an element based on a CSS selector.
Parameters
string $css_selector: A css selector to find an element for.
Return value
\Behat\Mink\Element\NodeElement|null The found element or null.
File
- tests/
src/ Functional/ FormatterConfigurationTest.php, line 138
Class
- FormatterConfigurationTest
- Tests the field formatter configuration forms.
Namespace
Drupal\Tests\video_embed_field\FunctionalCode
protected function find($css_selector) {
return $this
->getSession()
->getPage()
->find('css', $css_selector);
}