Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add communication and socket chunk size caps, and pass on #1105

Merged
merged 3 commits into from
Nov 13, 2019

Conversation

imurchie
Copy link
Contributor

Update appium-ios-device and appium-remote-debugger, and add capabilities to pass along data to the communication system:

  • safariLogAllCommunication
  • safariLogAllCommunicationHexDump
  • safariSocketChunkSize

README.md Outdated
@@ -166,6 +166,9 @@ Differences are noted here:
|`skipLogCapture`|Skips to start capturing logs such as crash, system, safari console and safari network. It might improve performance such as network. Log related commands will not work. Defaults to `false`. |`true` or `false`|
|`safariGarbageCollect`|Turns on/off Web Inspector garbage collection when executing scripts on Safari. Turning on may improve performance. Defaults to `false`.|`true` or `false`|
|`includeSafariInWebviews`|Add Safari web contexts to the list of contexts available during a native/webview app test. This is useful if the test opens Safari and needs to be able to interact with it. Defaults to `false`.|`true` or `false`|
|`safariLogAllCommunication`|Log all plists sent to and received from the Web Inspector, as plain text. For some operations this can be a lot of data, so it is recommended to be used only when necessary. Defaults to `false`.|`true` or `false`|
|`safariLogAllCommunicationHexDump`|Log all communication sent to and received from the Web Inspector, as raw hex dump and printable characters. This logging is done _before_ any data manipulation, and so can elucidate some communication issues. Like `safariLogAllCommunication`, this can produce a lot of data in some cases, so it is recommended to be used only when necessary. Defaults to `false`.|`true` or `false`|
|`safariSocketChunkSize`|The size, in _bytes_, of the data to be sent to the Web Inspector on iOS 11+ real devices. Defaults to `5000`|e.g., `1000`|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes sense to describe how changing of the value influences the interaction with the browser

@mykola-mokhnach
Copy link
Contributor

it looks like web tests need some update

@imurchie imurchie merged commit 152f96e into master Nov 13, 2019
@imurchie imurchie deleted the isaac-rd-try branch November 13, 2019 17:00
khanayan123 pushed a commit to khanayan123/appium-xcuitest-driver that referenced this pull request May 10, 2021
…um#1105)

* feat: add communication and socket chunk size caps, and pass to remote debugger

* ad a little more to the description of the caps

* fix context checking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants