Constructor
new module:WPAdminWCSettingsCheckout(driver, args)
Parameters:
Name | Type | Description |
---|---|---|
driver |
WebDriver | Instance of WebDriver. |
args |
object | Configuration arguments. |
Extends
- WPAdminWCSettings
Methods
checkCalculateDiscountsSequentially() → {Promise}
Check the "Calculate coupon discounts sequentially" checkbox.
Returns:
Promise that evaluates to true
if box is/gets checked successfully, false
otherwise.
- Type
- Promise
checkEnableCoupons() → {Promise}
Check the "Enable the use of coupons" checkbox.
Returns:
Promise that evaluates to true
if box is/gets checked successfully, false
otherwise.
- Type
- Promise
uncheckCalculateDiscountsSequentially() → {Promise}
Uncheck the "Calculate coupon discounts sequentially" checkbox.
Returns:
Promise that evaluates to true
if box is/gets unchecked successfully, false
otherwise.
- Type
- Promise
uncheckEnableCoupons() → {Promise}
Uncheck the "Enable the use of coupons" checkbox.
Returns:
Promise that evaluates to true
if box is/gets unchecked successfully, false
otherwise.
- Type
- Promise