提交 36ab426f 编写于 作者: Y ywx1211260

add api

Signed-off-by: Nywx1211260 <yupeng78@huawei.com>
上级 fb051a9e
......@@ -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");
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册