How to handle IE protected mode zone and zoom level setting in selenium C#

0 votes

I am using internet explorer version 11 i want to set following things using c#

  1. Selenium IE Protected mode setting set same to all zone.Either enable or disable
  2. Set zoom level 100% for IE browser using c#
Feb 13 in Selenium by Ketaki
• 120 points
565 views
You can also send CTRL+0 to reset zoom to 100%
Thank you for reply,its working.

1 answer to this question.

0 votes

For changing the zoom level you can use the following set of statements:-

DesiredCapabilities caps = DesiredCapabilities.internetExplorer();
caps.setCapability("ignoreZoomSetting", true);
driver = new InternetExplorerDriver(caps);

I am not sure about the protected mode setting but here is a solution I found on GitHub:-

https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/4249

Hope this works.

answered Feb 13 by Priyaj
• 56,200 points

Related Questions In Selenium

0 votes
1 answer

How To move physical mouse pointer in selenium and c#

You can't show the mouse pointer moving and ...READ MORE

answered Jun 4, 2018 in Selenium by Samarpit
• 5,130 points
890 views
0 votes
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,050 points
1,800 views
0 votes
1 answer

How to handle Pop-up in Selenium WebDriver using Java

Actually, its pretty simple. Use this code ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,050 points
3,836 views
0 votes
1 answer

How to handle notifications in Python with Selenium (Chrome WebDriver)

Below will help you: You can disable the ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
2,054 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,050 points
408 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
766 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
404 views
0 votes
2 answers

How to handle dropdowns in selenium?

Hey @Rishab, you can take a look ...READ MORE

answered Jan 23 in Selenium by Priyaj
• 56,200 points
40 views
+1 vote
1 answer

How to press enter using selenium in Java?

Hey @jino, good that you are finding ...READ MORE

answered Dec 21, 2018 in Selenium by Priyaj
• 56,200 points
59 views