Refresh
Refresh the current page (Web context only) //刷新当前页(仅限Web上下文)
Example Usage
Javadriver.refresh();Pythonself.driver.refresh()Javascript// webdriver.io example
driver.refresh();
// wd example
await driver.refresh();Ruby# ruby_lib example
navigate.refresh
ruby_lib_core example
@driver.navigate.refreshC#driver.Navigate().Refresh();PHP// TODO PHP sample
Support
Appium Server
PlatformDriverPlatform VersionsAppium VersionDriver VersioniOSXCUITestNoneNoneNoneUIAutomationNoneNoneNoneAndroidEspressoNoneNoneNoneUiAutomator2NoneNoneNoneUiAutomatorNoneNoneNoneMacMacNoneNoneNoneWindowsWindowsNoneNoneNone
Appium Clients
LanguageSupportDocumentationJavaAllseleniumhq.github.ioPythonAllselenium-python.readthedocs.ioJavascript (WebdriverIO)AllJavascript (WD)Allgithub.comRubyAllwww.rubydoc.infoPHPAllgithub.comC#Allgithub.com
HTTP API Specifications
Endpoint
POST /session/:session_id/refresh
URL Parameters
namedescriptionsession_idID of the session to route the command to
JSON Parameters
None
Response
null
版权归原作者 Aniona 所有, 如有侵权,请联系我们删除。