My automation script, which utilizes Selenium and Java on Sauce Labs, is presenting a challenge. I am struggling to find a JavaScript method or keyboard shortcut that can programmatically enable the 'Zoom text' function. Any advice or suggestions would be greatly appreciated. view image here
I have attempted the following JavaScript code, however it only zooms the entire page and not just the text: "document.body.style.zoom = '1.5'"; // Zoom in