@nullish/wdio-jsontocsv

Convert wdio ouptut from JSON to CSV

Usage no npm install needed!

<script type="module">
  import nullishWdioJsontocsv from 'https://cdn.skypack.dev/@nullish/wdio-jsontocsv';
</script>

README

WDIO - JSON to CSV

Node script that receives a JSON file Webdriver IO output and converts numerous elemts to CSV, flattening as it goes. The field selections are arbitrary, so feel free to fiddle.

Can be called from a function or command line. It takes a single argument - the file path to the JSON file to convert.