"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HotTestElement = exports.HotTestElementOptions = void 0;
/**
 * Hot test element options.
 */
class HotTestElementOptions {
    constructor(copy = {}) {
        this.mustBeVisible = copy.mustBeVisible || true;
        this.ignoreMissingElementError = copy.ignoreMissingElementError || false;
    }
}
exports.HotTestElementOptions = HotTestElementOptions;
/**
 * A test element.
 */
class HotTestElement {
    constructor(name, func = "", value = null) {
        if (typeof (name) === "string") {
            this.name = name;
            this.func = func;
            this.value = value;
        }
        else {
            this.name = name.name;
            this.func = name.func || func;
            this.value = name.value || value;
        }
    }
}
exports.HotTestElement = HotTestElement;
//# sourceMappingURL=HotTestElement.js.map