For automation operations in normal mode, generally the inactive window cannot be controlled, users can try to use the following parameters to solve the problem.
Add the following parameters to the "Custom launch browser parameters" in the XLogin profile settings:
--disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-renderer-backgrounding
For the setting method, please refer to "Browser maximization parameter setting".