appium / appium-uiautomator2-driver

Appium driver for Android UIAutomator2
Apache License 2.0
607 stars 177 forks source link

Issues with screenshotting in the latest version #837

Open Nick-qa-dev opened 1 week ago

Nick-qa-dev commented 1 week ago

When I execute this command on Android it outputs the complete base64 for the screenshot to the console. Could we have a silent option so that it doesn't output ten thousand lines to the console. It looks like this is implemented for screenshots

const viewScreen = await driver.execute("mobile: viewportScreenshot", [ { arg1: "0", }, ])

Cheers Nick

mykola-mokhnach commented 1 week ago

Not sure what exactly you mean. Please provide a more detailed description of what is printed, to which console and when it is printed