Move WDIO version to above 8
- Currently requires a compatible `wdio-wikibase` version.
- needs ESM imports
- All test cases should still run
Note: no official upgrade guide on the webpage.
**IMPLEMENTATION NOTES**
- `browser.config` is replaced by `browser.options`, which largely does not allow for the use of custom fields. Environment variables are used where necessary.
- `*.conf.js` files now consider `test/suites` to be their point of reference when specifying file locations. All specs and suites needed to `..\` to specify files in `test/specs`.
- Patched `wdio-mediawiki` code:
-- `test/helpers/PagePatch.js` patched `wdio-mediawiki/Page`
-- `test/helpers/saveScreenshot.js` patched screenshot-related functions in `wdio-mediawiki/index.js`
**CORRECTIONS**
- ES Module imports not needed for 8; vice versa.
- Was able to patch wdio-wikibase code; was able to patch outdated code in WikibaseApi. See `test/helpers/WikibaseApiPatch.js`.