src/Services/InteractWithPage.php
protected function select($value, $element)
    {
        $this->wd->findElement(WebDriverBy::cssSelector($element))->sendKeys($value);

        return $this;
    }
protected function select($value, $element)
    {
        $this->wd->findElement(WebDriverBy::cssSelector($element))->sendKeys($value);

        return $this;
    }
protected function select ( $ value , $ element ) { $ this -> wd -> findElement ( WebDriverBy :: cssSelector ( $ element ) ) -> sendKeys ( $ value ) ; return $ this ; }
"Select" a drop-down field.

@param $value
@param $element

@return $this
Select a drop - down field .