Skip to content

[Feature]: specify screenshot parameters when creating a new AndroidDevice #954

@wangyuening2025

Description

@wangyuening2025

What problem does this feature solve?

我的安卓设备实际尺寸比较大,大概20英寸(比笔记本屏幕大些)。实际使用中提示:The image size seems too large (2695x1516). It may lead to more token usage, slower response, and inaccurate result. 所以我希望能够在new AndroidDevice的时候能够让我指定截屏分辨率,这样我可以平衡费用和效果。

What does the proposed API look like?

const page = new AndroidDevice(devices[0].udid, {
screenshot : '1920,1080'
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions