Appium-Stop Screen Recording(停止屏幕录制)


Stop recording screen

Example Usage
Javadriver.stopRecordingScreen();
driver.stopRecordingScreen(new BaseStopScreenRecordingOptions(…));
Pythonself.driver.stop_recording_screen()
Javascript// webdriver.io example
driver.stopRecordingScreen();
// wd example
await driver.stopRecordingScreen();
Ruby# ruby_lib example
stop_recording_screen
stop_recording_screen remote_path: 'https://example.com', user: 'example', pass: 'pass', method: 'POST'
# ruby_lib_core example
@driver.stop_recording_screen
@driver.stop_recording_screen remote_path: 'https://example.com', user: 'example', pass: 'pass', method: 'POST'
C#driver.StopRecordingScreen();
PHP// TODO PHP sample
Support
Appium Server
PlatformDriverPlatform VersionsAppium VersionDriver Version
iOSXCUITest9.3+1.6.0+All
UIAutomationNoneNoneNone
AndroidEspresso?+1.9.0+All
UiAutomator2?+1.6.0+All
UiAutomator4.3+AllAll
MacMacNoneNoneNone
WindowsWindowsNoneNoneNone
Appium Clients
LanguageSupportDocumentation
JavaAllappium.github.io
PythonNoneappium.github.io
Javascript (WebdriverIO)All
Javascript (WD)Allgithub.com
RubyAllwww.rubydoc.info
PHPNonegithub.com
C#Nonegithub.com
HTTP API Specifications
Endpoint

POST /session/:session_id/appium/stop_recording_screen

URL Parameters
namedescription
remotePathThe path to the remote location, where the resulting video should be uploaded. The following protocols are supported http/https, ftp. Null or empty string value (the default setting) means the content of resulting file should be encoded as Base64 and passed as the endpoint response value. An exception will be thrown if the generated media file is too big to fit into the available process memory.
usernameThe name of the user for the remote authentication.
passwordThe password for the remote authentication.
methodThe http multipart upload method name. The ‘PUT’ one is used by default.
JSON Parameters

None

Response

Base64 encoded string. If remote_path is set, the response is empty string. (string)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

古希腊掌管野猫的神-臭臭猫

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值