Search code examples
javascriptsafaripolymer

Value is not a sequence Safari exception


enter image description here

I'm getting this error on any console.log statement in my codebase. This affects only Safari 11.0 (12604.1.38.1.7) on Mac 10.16.6

How can i resolve this and how this happened?


Solution

  • You need to disable the "WebDriver" extension.

    I had this same problem, and my stack trace included a resource called "Script element" which was making this call:

    b.initMessageEvent("safaridriver.message", !1, !1, a, window.location.origin, "0", window, null);
    

    Maybe there's a SafariDriver update out there that also fixes this?