Skip to content

Instantly share code, notes, and snippets.

@Jiveloper
Last active October 29, 2022 08:24
Show Gist options
  • Save Jiveloper/f589ecffd9a88c757cb91897a9b39e89 to your computer and use it in GitHub Desktop.
Save Jiveloper/f589ecffd9a88c757cb91897a9b39e89 to your computer and use it in GitHub Desktop.
블로깅 WDIO 구축
mkdir jiotest && cd jiotest && npm init wdio
Creating WebdriverIO project in /Users/jiwonlee/Desktop/jiotest
Creating a package.json for the directory.
✔ Success!
Installing @wdio/cli to initialize project.
✔ Success!
Running WDIO CLI Wizard...
=========================
WDIO Configuration Helper
=========================
? Where is your automation backend located? On my local machine
? Which framework do you want to use? mocha
? Do you want to use a compiler? Babel (https://babeljs.io/)
? Where are your test specs located? ./test/specs/**/*.js
? Do you want WebdriverIO to autogenerate some test files? Yes
? Do you want to use page objects (https://martinfowler.com/bliki/PageObject.html)? Yes
? Where are your page objects located? ./test/pageobjects/**/*.js
? Which reporter do you want to use? spec
? Do you want to add a plugin to your test setup? wait-for
? Do you want to add a service to your test setup? chromedriver
? What is the base url? http://localhost
? Do you want me to run `npm install` Yes
Installing wdio packages:
- @wdio/local-runner
- @wdio/mocha-framework
- @wdio/spec-reporter
- wdio-wait-for
- wdio-chromedriver-service
- @babel/register
- @babel/core
- @babel/preset-env
- chromedriver
.
.
🤖 Successfully setup project at /Users/jiwonlee/Desktop/jiotest 🎉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment