Interface PullsFiles

    • Method Detail

      • pullFile

        default byte[] pullFile​(java.lang.String remotePath)
        Pull a file from the remote system. On Android the application under test should be built with debuggable flag enabled in order to get access to its container on the internal file system.
        Parameters:
        remotePath - Path to file to read data from the remote device. Check the documentation on `mobile: pullFile` extension for more details on possible values for different platforms.
        Returns:
        A byte array of Base64 encoded data.
      • pullFolder

        default byte[] pullFolder​(java.lang.String remotePath)
        Pull a folder content from the remote system. On Android the application under test should be built with debuggable flag enabled in order to get access to its container on the internal file system.
        Parameters:
        remotePath - Path to a folder to read data from the remote device. Check the documentation on `mobile: pullFolder` extension for more details on possible values for different platforms.
        Returns:
        A byte array of Base64 encoded zip archive data.