Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) Safe-mode: OFF (not secure) /var/www/clients/client172/web473/web/aps/xcrud/plugins/jQuery-File-Upload-master/wdio/hooks/ drwxr-xr-x |
Viewing file: index.js (714 B) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | 'use strict' /* global browser, Promise */ const cmds = require('wdio-screen-commands') /* eslint-disable jsdoc/valid-types */ /** @type WebdriverIO.HookFunctions */ const config = { before: async () => { browser.addCommand('saveScreenshotByName', cmds.saveScreenshotByName) browser.addCommand('saveAndDiffScreenshot', cmds.saveAndDiffScreenshot) if (browser.config.maximizeWindow) await browser.maximizeWindow() }, beforeTest: async test => { await cmds.startScreenRecording(test) }, afterTest: async (test, context, result) => { await Promise.all([ cmds.stopScreenRecording(test, result), cmds.saveScreenshotByTest(test, result) ]) } } module.exports = config |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0076 ]-- |