Appium-go-to-url

Go to URL

Navigate to a new URL (Web context) or open an Appium deep link (Native)
//: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/web/navigation/go-to-url.yml)

Example Usage

// Java
driver.get("http://appium.io/");

# Python
self.driver.get("http://appium.io/")

// Javascript
// webdriver.io example
driver.url("http://appium.io");

// wd example
await driver.get("http://appium.io/");

# Ruby
# ruby_lib example
get("http://appium.io")

# ruby_lib_core example
@driver.get("http://appium.io")

# PHP
$this->driver->get("http://appium.io");

// C#
driver.Navigate().GoToUrl("http://appium.io");

Support

Appium Server

Platform Driver Platform Versions Appium Version Driver Version
iOS XCUITest 9.3+ 1.6.0+ All
UIAutomation 8.0 to 9.3 All All
Android UiAutomator2 ?+ 1.6.0+ All
Espresso ?+ 1.9.0+ All
UiAutomator 4.3+ All All
Mac Mac None None None
Windows Windows None None None

Appium Clients

HTTP API Specifications

Endpoint

POST /session/:session_id/url

URL Parameters

name description
session_id ID of the session to route the command to

JSON Parameters

name type description
url string The URL to navigate to

Response

null

See Also

官方链接为:Go to URL - Appium