public function keyPress($charInfo, $combo = null)
    {
        $this->con->executeStep(
            sprintf('_sahi._keyPress(%s, %s)', $this->getAccessor(), $this->getKeyArgumentsString($charInfo, $combo))
        );
    }
public function keyPress($charInfo, $combo = null)
    {
        $this->con->executeStep(
            sprintf('_sahi._keyPress(%s, %s)', $this->getAccessor(), $this->getKeyArgumentsString($charInfo, $combo))
        );
    }
public function keyPress ( $ charInfo , $ combo = null ) { $ this -> con -> executeStep ( sprintf ( '_sahi._keyPress(%s, %s)' , $ this -> getAccessor ( ) , $ this -> getKeyArgumentsString ( $ charInfo , $ combo ) ) ) ; }
Simulate keypress event.

@param string $charInfo a char (eg. ‘b’) OR charCode (eg. 98) OR array(13,13) for pressing ENTER
@param string $combo    CTRL|ALT|SHIFT|META
Simulate keypress event .