|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| acceptAlert () | |
| acceptWarning () | |
| dismissWarning () | |
| dismissAlert () | |
| closeAlert () | |
| getAlertText () | |
| setAlertText ($text) | |
| waitModalWindowToDisappear () | |
Protected Member Functions | |
| waitModalAnimationFinished () | |
Protected Attributes | |
| $acceptButtonSelector = '.action-accept' | |
| $dismissButtonSelector = '.action-dismiss' | |
| $closeButtonSelector = '.action-close' | |
| $inputFieldSelector = '[data-role="promptField"]' | |
| $acceptWarningSelector = '.action-primary' | |
| $dismissWarningSelector = '.action-secondary' | |
| $modalOverlay = '.modals-overlay' | |
| $loadingMask = '[data-role="loader"]' | |
| acceptAlert | ( | ) |
Press OK on an alert, confirm, prompt a dialog.
Definition at line 77 of file Modal.php.
| acceptWarning | ( | ) |
Press OK on a warning popup.
Definition at line 88 of file Modal.php.
| closeAlert | ( | ) |
Press Close on an alert, confirm, prompt a dialog.
Definition at line 123 of file Modal.php.
| dismissAlert | ( | ) |
Press Cancel on an alert, confirm, prompt a dialog.
Definition at line 112 of file Modal.php.
| dismissWarning | ( | ) |
Press Cancel on a warning popup.
Definition at line 100 of file Modal.php.
| getAlertText | ( | ) |
Get the alert dialog text.
Definition at line 134 of file Modal.php.
| setAlertText | ( | $text | ) |
Set the text to a prompt popup.
| string | $text |
Definition at line 146 of file Modal.php.
|
protected |
| waitModalWindowToDisappear | ( | ) |
|
protected |