public function clickButtonInDialog(string $buttonLinkLocator)
    {
        $I = $this->tester;
        $this->canSeeDialog();
        $I->click($buttonLinkLocator, self::$openedModalButtonContainerSelector);
        $I->waitForElementNotVisible(self::$openedModalSelector);
    }
public function clickButtonInDialog(string $buttonLinkLocator)
    {
        $I = $this->tester;
        $this->canSeeDialog();
        $I->click($buttonLinkLocator, self::$openedModalButtonContainerSelector);
        $I->waitForElementNotVisible(self::$openedModalSelector);
    }
public function clickButtonInDialog ( string $ buttonLinkLocator ) { $ I = $ this -> tester ; $ this -> canSeeDialog ( ) ; $ I -> click ( $ buttonLinkLocator , self :: $ openedModalButtonContainerSelector ) ; $ I -> waitForElementNotVisible ( self :: $ openedModalSelector ) ; }
Perform a click on a link or a button, given by a locator.

@param string $buttonLinkLocator the button title
@see \Codeception\Module\WebDriver::click()
Perform a click on a link or a button given by a locator .