Use Activity Invoke Code Output your browser as variable and paste this line: ChromeDriver.SwitchTo.Alert.Accept