Wednesday 14 July 2021

Appium Codeceptjs - Mock or take photo/video Android iOS

Is there any way to test making photo and video with CodeceptJS Appium.

    const driver = await appium.getDriver()
    await driver.sendDeviceKeyEvent(27) 

This code actually takes picture on xiaomi device but there is still accept or decline photo button that I can't reach with this codes or any other way

Or even if there is way to mock and put pre-recorded photo or video?



from Appium Codeceptjs - Mock or take photo/video Android iOS

No comments:

Post a Comment