From 36ab426f4c07754ca36e2cf5ac4eee1e59fd3ec4 Mon Sep 17 00:00:00 2001 From: ywx1211260 Date: Fri, 24 Feb 2023 18:56:08 +0800 Subject: [PATCH] add api Signed-off-by: ywx1211260 --- .../entry/src/main/ets/MainAbility/pages/web.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets index b907a2771..7e904c02f 100644 --- a/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets @@ -71,6 +71,7 @@ struct Index { Hypium.hypiumTest(abilityDelegator, abilityDelegatorArguments, testsuite) try{ web_webview.WebviewController.customizeSchemes([this.scheme1, this.scheme2, this.scheme3]) + web_webview.WebviewController.setWebDebuggingAccess(true) web_webview.once("webInited",()=>{ web_webview.WebCookieManager.setCookie("https://www.huawei.com", "a=b"); }) -- GitLab