Hello,
I use Selenium's Chrome container to test my front-end code. The Docker image I use is `selenium/standalone-chrome:106.0`. It works like charm, but today I ran into a problem.
I have some code that calls the function `window.getScreenDetails()`. This function is part of the relatively new API that allows javascript to get info about user's screens. The problem is that this function does not exist on the `window` object in the Chrome client that's running inside the Selenium container. The version of Chrome is 106.
The weird thing is that I run the same version of Chrome on my local, which I use for development, and the function works just fine. So it's only missing in the Selenium's containerized version of Chrome.
Any ideas what may be happening here? Thank you!