This lets you access closed shadow roots from JavaScript, even though they're not normally accessible to JavaScript. This can be used to poke into UA shadow roots in tests.
Internals.headless
This returns true if the browser is running in headless mode.