I'm trying to do UI testing and trying to set IE zoom percentage as 100% during run time.
This is what I have tried till now
from _winreg import *
"""POC to fix Zoom value to 100 percent"""
keyVal = r'Software\Microsoft\Internet Explorer\Zoom'
key = OpenKey(HKEY_CURRENT_USER, keyVal, 0, KEY_ALL_ACCESS)
SetValueEx(key, "100000", 0, REG_DWORD, 0)