When I recently updated to Chrome 66, I ran into an issue where my tests throw
[object DOMException] when an audio file attempts to play because of the recently released changes to autoplaying audio:
I need a way to get around these exceptions in my tests. It seems like either 1) making TestCafe's clicks count as a "user interaction" or 2) the ability to set the Chrome flag
chrome://flags/#autoplay-policy to false prior to running the test would do it, but I can't find a way to do either.
Does anyone know of a way to get around this?