diff options
Diffstat (limited to 'src/utils.js')
-rw-r--r-- | src/utils.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/utils.js b/src/utils.js deleted file mode 100644 index cf9fe38..0000000 --- a/src/utils.js +++ /dev/null @@ -1,13 +0,0 @@ -const clickElementByXPath = (page, xPath) => page - .waitForXPath(xPath) - .then(item => item.click()); - -const clickElementBySelector = (page, selector) => page - .waitForSelector(selector) - .then(item => item.click()); - - -module.exports = { - clickElementByXPath, - clickElementBySelector -}; |