Trying to monitor the access to Microsoft Teams webpage using webdriver. The recorded webdriver script is working in the local machine, but once uploaded to any public station, this error is shown in video recording.
Once logged, the welcome page loads and quickly this error page appears. It's not possible to reproduce this error in the local machine, either running the webdriver script or trying it manually.
What could be the problem in the public stations to get this error?
This is an issue with restricted memory in public stations, there is a limit of only 256Mb to each webdriver check to allow all users to use the feature without impacting on others.
Logs in ASM may report this error, which shows that the original window has already closed / crashed:
Release : 99.0
Component : CA APP SYNTHETIC MONITOR (WATCHMOUSE)
With an OPMS installed, it is possible to increase the memory limit to run the script:
the row is:
We would suggest to start with an extra 256Mb which gives
After changes made, please restart the selenoid:
Information on analysing memory usage of websites in the browser