module:WPAdminWCSettingsCheckoutCOD

module:WPAdminWCSettingsCheckoutCOD

The admin Checkout: Cash on Delivery screen

Constructor

new module:WPAdminWCSettingsCheckoutCOD(driver, args)

Parameters:
Name Type Description
driver WebDriver

Instance of WebDriver.

args object

Configuration arguments.

Source:

Extends

  • WPAdminWCSettings

Methods

checkEnable() → {Promise}

Check box that enables this gateway.

Source:
Returns:

Promise that evaluates to true if box is/gets checked successfully, false otherwise.

Type
Promise

uncheckEnable() → {Promise}

Uncheck box that enables this gateway.

Source:
Returns:

Promise that evaluates to true if box is/gets unchecked successfully, false otherwise.

Type
Promise