selenium-iedriver

Internet Explorer Protective mode setting and Zoom levels

孤人 提交于 2019-11-26 14:51:42
问题 using System; using OpenQA.Selenium.IE; using OpenQA.Selenium.Remote; using OpenQA.Selenium; namespace CSharpAutomationFramework.Tests { public class BrowserSource { var options = new InternetExplorerOptions(); options.IntroduceInstabilityByIgnoringProtectedModeSettings = true; public bool IgnoreZoomLevel { get; set; } public bool IntroduceInstabilityByIgnoringProtectedModeSettings { get; set; } InternetExplorerDriver protectivemode = new InternetExplorerDriver(options);

How to ignore protected Mode Settings for Internet Explorer using setCapability() through Selenium and Java?

核能气质少年 提交于 2019-11-26 09:14:50
问题 I am trying to test in java selenium with IE but my problem is I have to keep on configuring the settings in protected Mode, is the an alternative to the deprecated function WebDriver driver = new InternetExplorerDriver(cap); As I would like to have this automated without human interaction. I am using this code in eclipse and it has no effect at all in my code the above is stroked out with a yellow line highlighter and that says it has been deprecated. So is there a new function to achieve