gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
710 stars 62 forks source link

fix(ct): do not fail on log html elements #946

Closed DudaGod closed 3 months ago

DudaGod commented 4 months ago

What is done

The problem occurs when you try to log an html element in test which use browser runner. Because html element has cyclic links and test crashes on call JSON.stringify when transferring such an element between processes.

So I use outerHTML if it exists.