feat: add mobile:webInspector to send webinspector command #1619
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Instead of #1455
I haven't tested yet, but I'd like to do somehing laster:
Animation.enable
,Animation.disable
ApplicationCache.enable
,ApplicationCache.disable
DOMStorage.enable
,DOMStorage.disable
Memory.enable
,Memory.disable
Network.setEmulatedConditions
Perhaps this pr needs to have some documentation with a couple of example code.
I'm thinking to add this command to send some of webinspector commands
https://github.com/appium/appium-remote-debugger/blob/717a6310dba7ccf14db8aeef28b8eac3d7f6abf9/lib/protocol/index.js
Maybe it does not work fully, so we may need to append more code, or need to update the remote debugger side such as https://github.com/appium/appium-remote-debugger/blob/717a6310dba7ccf14db8aeef28b8eac3d7f6abf9/lib/rpc/remote-messages.js#L13.
example usage: