Sentry_sdk "permission denied to access property 'name'" error in Firefox 57

I know FF 57 is very old (Nov 17), but unfortunately it’s what our QA team uses with Selenium. When changing from Raven to sentry_sdk, we now get an error.

We’ve used the vanilla JS version, ie. in head there’s:

<script src="" crossorigin="anonymous"></script>

And at the top of the body, there’s:

<script type="text/javascript">Sentry.init({ dsn: '' });</script>

The error we see in Selenium is:

>       raise exception_class(message, screen, stacktrace)
E       WebDriverException: Message: Permission denied to access property "name"
E       Stacktrace:
E           at Sentry</je</t.prototype.wrapEventTarget/</< (

/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/ WebDriverException

Any suggestions for ways to work around this? (Other than upgrading FF). I don’t care much whether the reporting actually works in FF 57, just that it doesn’t error out.