简体   繁体   English

webview远程调试控制台命令与android webview

[英]webview remote debugging console commands with android webview

So i got the remote debug system using chrome devtools to work...所以我得到了使用 chrome devtools 的远程调试系统来工作......

The issue is I can not enter in any javascript commands to the console.问题是我无法在控制台中输入任何 javascript 命令。

such as: alert('test');如: alert('test');

it is like the enter button only gives new lines...就像输入按钮只给出新行......

please help is there a setting I am missing?请帮助是否有我缺少的设置?

Device update:设备更新:

This happens regardless of the Android Device i am using...无论我使用的是什么 Android 设备,都会发生这种情况...

I am using Chrome Version 86.0.4240.111 (Official Build) (64-bit) on Ubuntu 20.04.1 LTS我在 Ubuntu 20.04.1 LTS 上使用 Chrome 版本 86.0.4240.111(官方版本)(64 位)

You should be able to interact with elements or any other staff normally as you would with web application, if your setup is correct.如果您的设置正确,您应该能够像使用 Web 应用程序一样正常地与元素或任何其他人员进行交互。 You can see this article how to setup webview debugging.您可以查看这篇文章如何设置 webview 调试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM