實戰練習 - 雲端瀏覽器測試

實戰練習 - 雲端瀏覽器測試

npm i wdio-testingbot-service --save-dev

Mac

export TESTINGBOT_KEY=
export TESTINGBOT_SECRET=

Window

SET TESTINGBOT_KEY=
SET TESTINGBOT_SECRET=

wdio.conf.js

capabilities: [{
    maxInstances: 1,
    browserName: 'MicrosoftEdge',
    version: '14',
    platform: 'WINDOWS',
    name: 'e2e testing'
}],

services: ['testingbot','phantomjs'],
host: 'hub.testingbot.com',
port: 80,
user: process.env.TESTINGBOT_KEY,
key: process.env.TESTINGBOT_SECRET,

results for ""

    No results matching ""