Issues in Google Chrome browser
Multiple Chrome instances
symptom
Whenever Chrome browser is launched from the Dashboard, multiple instances of the Chrome browser are opened.
resolution
Install Sahi to a path that does NOT contain spaces.
Playback fails randomly on popup windows
symptom
Playback fails for popup windows in Google Chrome browser. This failure happens when the popup window is in the background. This issue is observed in Chrome 77 and above.
cause
Google Chrome browser has introduced a 'WebContent Occlusion' feature. With this feature, the Chrome browser hides the content of a window that is not in use. So playback with Sahi fails on such windows having no content.
resolution
In browser_types.xml, search for chrome. Add
--disable-backgrounding-occluded-windows
to browser startup options for chrome.
<options>--no-default-browser-check --user-data-dir=$userDir\browser\chrome\profiles\sahi$threadNo --proxy-server=127.0.0.1:$port --disable-popup-blocking --always-authorize-plugins --allow-outdated-plugins --enable-npapi --incognito --disable-background-networking --disable-component-update --disable-renderer-backgrounding --disable-backgrounding-occluded-windows</options>