src/Concerns/InteractsWithElements.php
public function keys($selector, ...$keys)
    {
        $this->resolver->findOrFail($selector)->sendKeys($this->parseKeys($keys));

        return $this;
    }
public function keys($selector, ...$keys)
    {
        $this->resolver->findOrFail($selector)->sendKeys($this->parseKeys($keys));

        return $this;
    }
public function keys ( $ selector , ... $ keys ) { $ this -> resolver -> findOrFail ( $ selector ) -> sendKeys ( $ this -> parseKeys ( $ keys ) ) ; return $ this ; }
Send the given keys to the element matching the given selector.

@param  string  $selector
@param  dynamic  $keys
@return $this
Send the given keys to the element matching the given selector .