zinserjan / wdio-visual-regression-service

Visual regression service for WebdriverIO.
MIT License
102 stars 39 forks source link

Compability with Webdriverio v5 #100

Open Jnegrier opened 5 years ago

Jnegrier commented 5 years ago

wdio-visual-regression-service and wdio-screenshot were modified to be compatible with wdio v5 and be integrated as one solution.

There a change on the usage for hide and remove now instead of using an array of strings, an array of Webdriverio elements must be used instead:

OLD: hide: ['h1', 'div'] NEW: hide: [$('h1'), $$('div')]