summaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js13
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
-};