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, 2019 in Selenium by Ketaki
• 120 points
4,414 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, 2019 by Priyaj
• 58,100 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,910 points
3,899 views
+1 vote
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,500 points
8,303 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 6, 2018 in Selenium by nsv999
• 5,500 points
10,515 views
+1 vote
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,910 points
14,374 views
0 votes
2 answers

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,500 points
13,567 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,084 views
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,910 points
7,178 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,840 views
0 votes
2 answers

How to handle dropdowns in selenium?

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

answered Jan 23, 2019 in Selenium by Priyaj
• 58,100 points
976 views
+2 votes
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
• 58,100 points

edited Oct 7, 2021 by Sarfaraz 4,528 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP