ブラウザ ボックスにイベントを発生させていますが、URL に移動するたびにブラウザ レベルのズームがリセットされます。
Chromeのようなブラウザレベルのズームは「{ctrl} + {マウスホイール}」または「{Ctr}l + {+}」で制御されます
これを制御したり、ユーザーの以前の設定を維持したりするために設定できるパラメータはありますか?
毎回 100% のパフォーマンスを発揮するのは理想的ではありません。
私も Web ページを完全に制御できますが、 CSSソリューションを使いたくない, ブラウザレベルのズームを使用するのには理由があります。 CSS を使用したさまざまなズーム機能があります。
私が使用しているもう 1 つのオプションは Chromedriver と Selenium ですが、Chromedriver には外部フックが必要なので、削除したいと考えています。
ただし、この問題は発生せず、ブラウザのインスタンスはユーザーが変更するまでズーム レベルを保持します。
Try(
wb << navigate (url);
,
Throw(
w = New Window( "JMP_Driver", wb = Web Browser Box());
w << Set window size (1200,1200);
//wb << set auto stretching (1,1);
//w << set auto stretching (1,1);
wb << navigate (url);
)
);
I find the Web Browser Box() super helpful! Edge (based on chromium) has such a better display engine than JMP, so for complicated forms and UI elements, implementing them in the web as a SPA is preferable. The hard part was to have JMP + SPA instance communicate reliably, but that was just tedious rather than difficult. I'm curious as to what you're wanting with your embedded web app -- if it's your own web-app, then maybe you can set it up to not do reloads, and then it'll keep it's zoom-level.