Skip to content

Assistance with starting webdriverio v7 and v8 and wdio video reporter v4 and v5 #122

Answered by seanpoulter
troyyer asked this question in Q&A
Discussion options

You must be logged in to vote

@troyyer, the first error is saying video needs to be a string:

https://github.com/troyyer/wdiov8-sample-for-video-reporter/blob/06b32d200a909c1158c8b1c0f0e74505442378c0/wdio.conf.js#L143-L152

     reporters: ['spec'
 				,'junit'
-				[video,
+				['video',
                     {
                         saveAllVideos: true,

You don't need to import the module in wdio.conf.js it just needs to be installed as a devDependency. You've done that.

I tried running your example in a codespace and this worked without an error from the reporters:

    reporters: ['spec',
                'junit',
                ['video', {
                    saveAllVideos: true,
                    videoSlowdownM…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@seanpoulter
Comment options

Comment options

You must be logged in to vote
3 replies
@troyyer
Comment options

@seanpoulter
Comment options

@troyyer
Comment options

Answer selected by troyyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants