public function typeInPopup($keys)
    {
        if ($this->isPhantom()) {
            throw new ModuleException($this, 'PhantomJS does not support working with popups');
        }
        $this->webDriver->switchTo()->alert()->sendKeys($keys);
    }
public function typeInPopup($keys)
    {
        if ($this->isPhantom()) {
            throw new ModuleException($this, 'PhantomJS does not support working with popups');
        }
        $this->webDriver->switchTo()->alert()->sendKeys($keys);
    }
public function typeInPopup ( $ keys ) { if ( $ this -> isPhantom ( ) ) { throw new ModuleException ( $ this , 'PhantomJS does not support working with popups' ) ; } $ this -> webDriver -> switchTo ( ) -> alert ( ) -> sendKeys ( $ keys ) ; }
Enters text into a native JavaScript prompt popup, as created by `window.prompt`.

@param $keys

@throws \Codeception\Exception\ModuleException
Enters text into a native JavaScript prompt popup as created by window . prompt .