zinserjan / wdio-screenshot

A WebdriverIO plugin. Additional commands for taking screenshots with WebdriverIO.
MIT License
109 stars 43 forks source link

Update README.md #59

Open franciskim opened 7 years ago

franciskim commented 7 years ago

add alternative way to setup wdio-screenshot

zinserjan commented 7 years ago

@franciskim sorry for the late response.

I made a PR #76 to add proper support of standalone mode, so we can work on the readme stuff now.

We should use the wording of the official webdriverio documentation, so alternative should be named standalone. I'm also thinking that we should reorganize the installation & configuration section to make it clear that standalone & wdio testrunner are independent from each other.

Something like this could work:

# Installation
- basic npm instructions like currently
## Standalone
- complete code sample to show how to init wdio-screenshot & create a document screenshot
- multibrowser sample would be a plus
## WDIO Testrunner
- the stuff from the current configuration section

Can you make these changes?

slushyash commented 7 years ago

👍 took me a while to find out how to use this plugin in standalone-mode