Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98825

Python protection settings IE

$
0
0

I am facing a problem automating the protection settings in IE using Selenium with python.

I found a solution to automate the settings in java but it is not working when i changed it to python .

I tried the following::

from selenium import webdriver

caps=webdriver.DesiredCapabilites.INTERNETEXPLORER
caps['INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS']=True
driver=webdriver.Ie(caps)

This gave an error with respect to the argument given .

and when I used driver = webdriver.Ie() It says protection mode settings must be same for all zones.

Can anyone help me automate this thing using selenium in python.


Viewing all articles
Browse latest Browse all 98825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>