src/ElementResolver.php
/**
     * Resolve the element for a given button by selector.
     *
     * @param  string  $button
     * @return \Facebook\WebDriver\Remote\RemoteWebElement|null
     */
Resolve the element for a given button by selector.
Resolve the element for a given button by selector .
protected function findButtonBySelector($button)
    {
        if (! is_null($element = $this->find($button))) {
            return $element;
        }
    }
protected function findButtonBySelector ( $ button ) { if ( ! is_null ( $ element = $ this -> find ( $ button ) ) ) { return $ element ; } }
Resolve the element for a given button by selector.
Resolve the element for a given button by selector .