wix-style-react
Version:
wix-style-react
23 lines (21 loc) • 499 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var TextLinkDriverFactory = function TextLinkDriverFactory(component) {
return {
exists: function exists() {
return !!component;
},
click: function click() {
return component.click();
},
getTextContent: function getTextContent() {
return component.getText();
},
element: function element() {
return component;
}
};
};
exports.default = TextLinkDriverFactory;