How can I start InternetExplorerDriver using Selenium WebDriver

前端 未结 16 2688
半阙折子戏
半阙折子戏 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:37

    It needs to set same Security level in all zones. To do that follow the steps below:

    1.Open IE

    2.Go to Tools -> Internet Options -> Security

    3.Set all zones (Internet, Local intranet, Trusted sites, Restricted sites) to the same protected mode, enabled or disabled should not matter.

    Finally, set Zoom level to 100% by right clicking on the gear located at the top right corner and enabling the status-bar. Default zoom level is now displayed at the lower right.

提交回复
热议问题