I'm trying to change the zoom in Chrome programmatically. I tried using Python to do this
driver.execute_script("document.body.style.zoom='zoom %'")
But this makes it zoom in CSS, not Chrome itself. How can I affect Chrome's zoom?
I'm trying to change the zoom in Chrome programmatically. I tried using Python to do this
driver.execute_script("document.body.style.zoom='zoom %'")
But this makes it zoom in CSS, not Chrome itself. How can I affect Chrome's zoom?