I've been trying to use this code in Selenium with C# to adjust the zoom level of the Chrome browser to 100% using JavaScript. However, it doesn't seem to be working as expected. Can someone please assist me with this issue?
var js = ((IJavaScriptExecutor)driver);
js.ExecuteScript("document.body.style.zoom = '100%';");