appium / WebDriverAgent

A WebDriver server for iOS and tvOS
Other
1.2k stars 377 forks source link

chore: add log to leave it in the system log #772

Closed KazuCocoa closed 1 year ago

KazuCocoa commented 1 year ago

I observed that handleCreateSession took 1 minute, but usually, it was in a few seconds.

Not clear the cause but maybe that was by https://github.com/appium/WebDriverAgent/blob/3ec962842f121bb6dbfc28ab1b30f69d0adc0123/WebDriverAgentLib/Utilities/FBXCodeCompatibility.m#L26-L33 (so os side's something I guess), but it was not clear.

(called by https://github.com/appium/WebDriverAgent/blob/3ec962842f121bb6dbfc28ab1b30f69d0adc0123/WebDriverAgentLib/FBApplication.m#L120 )

For future logging, i'd like to leave a message in currentCapabilities, used the last part of handleCreateSession after getting the activeApplication here (to see log message when that was resolved.)

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 5.8.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: