public function canSeeDialog()
    {
        $I = $this->tester;
        $I->switchToIFrame();
        $I->waitForElement(self::$openedModalSelector);
        // I will wait two seconds to prevent failing tests
        $I->wait(2);
    }
public function canSeeDialog()
    {
        $I = $this->tester;
        $I->switchToIFrame();
        $I->waitForElement(self::$openedModalSelector);
        // I will wait two seconds to prevent failing tests
        $I->wait(2);
    }
public function canSeeDialog ( ) { $ I = $ this -> tester ; $ I -> switchToIFrame ( ) ; $ I -> waitForElement ( self :: $ openedModalSelector ) ; // I will wait two seconds to prevent failing tests $ I -> wait ( 2 ) ; }
Check if modal dialog is visible in top frame
Check if modal dialog is visible in top frame