Parameters for window.setZoom.
Set the zoom factor of the calling window's WebView. From then on, for the rest of the session, the default zoom in the preferences no longer applies to this WebView. Fails with NOT_FOUND when the calling window has no WebView of its own, and with OPERATION_FAILED when WebView2 refuses the factor; that failure carries the zoom in effect.
Parameters for
window.setZoom. Set the zoom factor of the calling window's WebView. From then on, for the rest of the session, the default zoom in the preferences no longer applies to this WebView. Fails withNOT_FOUNDwhen the calling window has no WebView of its own, and withOPERATION_FAILEDwhen WebView2 refuses the factor; that failure carries thezoomin effect.