Constructor
new module:WPAdminCouponEdit(driver, args)
Parameters:
Name | Type | Description |
---|---|---|
driver |
WebDriver | Instance of WebDriver. |
args |
object | Configuration arguments. |
Extends
- WPAdminPostEdit
Methods
setDescription(description) → {Promise}
Set the coupon description.
Parameters:
Name | Type | Description |
---|---|---|
description |
string | Text to enter in the description field. |
Returns:
Promise that evaluates to true
if description set successfully, false
otherwise.
- Type
- Promise