Appium-Status(状态)

Retrieve the server’s current status //检索服务器的当前状态

Example Usage //
Javadriver.getStatus();
Pythonselenium.webdriver.common.utils.is_url_connectable(port)
Javascript// webdriver.io example
driver.status();
// wd exampleawait
driver.status();
Ruby# ruby_lib example
remote_status
# ruby_lib_core example
@driver.remote_status
C#// TODO
PHP// TODO
Description

返回有关远程端是否处于可以创建新会话的状态的信息,并且还可以包含特定于实现的任意元信息。
就绪状态由主体的ready属性表示,如果在当前时间尝试创建会话失败,则该属性为false。但是,值true并不保证新的会话命令会成功。
实现可以选择性地包括附加的元信息作为主体的一部分,但是顶级属性ready和message是保留的,不能被覆盖。

Support
Appium Server
PlatformDriverPlatform VersionsAppium VersionDriver Version
iOSXCUITest9.3+1.6.0+All
UIAutomation8.0 to 9.3AllAll
AndroidEspresso?+1.9.0+All
UiAutomator2?+1.6.0All
UiAutomator4.3+AllAll
MacMac?+1.6.4+All
WindowsWindows10+1.6.0+All
Appium Clients
LanguageSupportDocumentation
JavaAlljavadoc.io
PythonAllselenium-python.readthedocs.io
Javascript(WebdriverIO)All
Javascript(WD)Allgithub.com
RubyAllwww.rubydoc.info
PHPAllgithub.com
C#Allgithub.com
HTTP API Specifications //api规格
Endpoint

GET /status

URL Parameters

None

JSON Parameters

None

Response
nametypedescription
build.versionstringA generic release label (i.e. “2.0rc3”)
build.versionstringThe revision of the local source control client from which the server was built
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

Aniona

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

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

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

打赏作者

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

抵扣说明:

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

余额充值