PMA_SeleniumBase::alertText PHP 메소드

alertText() 공개 메소드

Wrapper around alertText method to not use it on not supported browsers.
public alertText ( ) : mixed
리턴 mixed
    public function alertText()
    {
        /**
         * Not supported in Safari Webdriver, see
         * https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/4136
         */
        if (mb_strtolower($this->getBrowser()) == 'safari') {
            $this->markTestSkipped('Alerts not supported on Safari browser.');
        }
        return parent::alertText();
    }