How can I start InternetExplorerDriver using Selenium WebDriver

前端 未结 16 2634
半阙折子戏
半阙折子戏 2020-12-30 17:23

I downloaded the driver and I gave the exact path in my code but when I ran the code it shows me error

my code with java is as below:

System.out.prin         


        
16条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-30 17:53

    In c#, This can bypass changing protected zone settings.

    var options = new InternetExplorerOptions();
    options.IntroduceInstabilityByIgnoringProtectedModeSettings = true;
    options.ElementScrollBehavior = InternetExplorerElementScrollBehavior.Bottom;
    

提交回复
热议问题