We can change the download path in IE which helps to verify the download file using Webdriver in IE.
RegistryKey rKey = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Internet Explorer\Main", true);
if (rKey != null)
rKey.SetValue("Default Download Directory", @"E:\E$", RegistryValueKind.String);
For disabling Download Prompt, we can use ESC key by Selenium or change IE settings using RegEdit.
No comments:
Post a Comment