Reputation: 109
I have heard that people use Webview.setWebContentsDebuggingEnabled(true).
Could anyone explain how to set up this in my test program? I try to import a android.jar to my program, but that cause some kind of problem like: java.lang.NoSuchFieldError: INSTANCE at the line of:
driver = new AppiumDriver<RemoteWebElement>(new URL("http://0.0.0.0:4723/wd/hub"), CAPA);
I wonder if this is necessary within my program if I want to switch to the webview. At this stage, if I try to switch the Webview, there will be a line of
[debug] [JSONWP Proxy] Proxying[Get/status] to [Get http://XXXXX......] with no body
keep coming up within my appium server.
Upvotes: 0
Views: 516
Reputation: 976
This property can not be set by Appium. This property is allowed to set in the source code of the app.
Only, Developers can set the property. If you are developing the app you can set in the source code by your own. If not then ask your developer to set the property.
Upvotes: 1