擅长:python、mysql、java
<p>没有单独的命令,您必须使用以下组合:</p>
<ol>
<li><a href="http://appium.io/docs/en/commands/session/screenshot/" rel="nofollow noreferrer">Screenshot</a>-将屏幕截图作为Base64字符串</li>
<li><a href="http://appium.io/docs/en/commands/device/files/push-file/" rel="nofollow noreferrer">Push File</a>-在iOS设备上保存屏幕截图</li>
</ol>
<p>比如:</p>
<pre><code>screenshotBase64 = self.driver.get_screenshot_as_base64()
driver.push_file('/path/to/device/foo.bar', screenshotBase64)
</code></pre>
<p>您可能还对填补Appium空白的<a href="https://docs.experitest.com/display/TE/SeeTest+-+Appium+Extension" rel="nofollow noreferrer">SeeTest - Appium Extension</a>命令感兴趣</p>