Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Screen Scale 2 for iPhone 7 Plus(Physical Device) #1128

@tahasamad

Description

@tahasamad

Running WDA on Physical Device:

iPhone 7 Plus | iOS 12.1.2

The following code in any WDA API (e.g. status):

[UIScreen mainScreen].scale; //Returns 2.
[XCUIScreen mainScreen].scale; //Returns 2.

On Simulator(iPhone 7 Plus) 3 is returned.

Should this not be 3 on physical device as well? If so, any idea how to get around this problem? Generally on forums its suggested to add appropriate Launch Screen / Image to app. But WebDriverAgentRunner has target application set as None. So not sure where to add the launch image/screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions