src/Context/TqContext.php
public function pressElement($action, $selector)
    {
        // 1. Get the action, divide string by spaces and put it parts into an array.
        // 2. Apply the "ucfirst" function for each array element.
        // 3. Make string from an array.
        // 4. Set the first letter of a string to lower case.
        $this->element('*', $selector)->{lcfirst(implode(array_map('ucfirst', explode(' ', $action))))}();
    }
public function pressElement($action, $selector)
    {
        // 1. Get the action, divide string by spaces and put it parts into an array.
        // 2. Apply the "ucfirst" function for each array element.
        // 3. Make string from an array.
        // 4. Set the first letter of a string to lower case.
        $this->element('*', $selector)->{lcfirst(implode(array_map('ucfirst', explode(' ', $action))))}();
    }
@param string $action
The next actions can be: "press", "click", "double click" and "right click".
@param string $selector
CSS, inaccurate text or selector name from behat.yml can be used.

@throws \WebDriver\Exception\NoSuchElement
When element was not found.

@Given /^(?:|I )((?:|(?:double|right) )click|press) on "([^"]*)"$/