Grid starts executing the scripts in the background due to which some expected values are not getting captures, is there a way we can open the browser in the foreground with