Selenium Zoom with VBA

I am looking for a way to control zoom in chrome with selenium.
I have tried

driver.ExecuteScript ("document.body.style.zoom='75%'") 

This zoom in the actual page, NOT like ctrl & -

driver.ExecuteScript "chrome.settingsPrivate.setDefaultZoom(1.5)"
  • This wont complie

I have no problems with eg. CTRL+a (for selecting evrything

driver.FindElementByTag("body").SendKeys Keys.Control, "a"

but it dosn’t work for SendKeys Keys.Control, Subtract

@muhammadarsalan866,

Thank you for posting in the Zoom Developer Forum – I am happy to help here. First, can you clarify if you are looking to control Zoom Client or SDK in chrome with selenium?

I am looking forward to your response.