PMA_SeleniumBase::alertText PHP Method

alertText() public method

Wrapper around alertText method to not use it on not supported browsers.
public alertText ( ) : mixed
return 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();
    }