Closed KazuCocoa closed 3 months ago
Add screenSize by system app in the device screen info. The status bar also refers to the system app, so they should be good. statusBarSizeForApplication does not use application, so this pr removes the argument as well.
statusBarSizeForApplication
application
endpoint: http://localhost:8100/wda/screen
tv
{ "value": { "statusBarSize": { "width": 0, "height": 0 }, "scale": 2, "screenSize": { "width": 1920, "height": 1080 } }, "sessionId": null }
iphone
{ "value": { "statusBarSize": { "width": 393, "height": 54 }, "scale": 3, "screenSize": { "width": 393, "height": 852 } }, "sessionId": null }
Tested with
:tada: This PR is included in version 8.4.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Add screenSize by system app in the device screen info. The status bar also refers to the system app, so they should be good.
statusBarSizeForApplication
does not useapplication
, so this pr removes the argument as well.endpoint: http://localhost:8100/wda/screen
tv
iphone
Tested with