# When Steps

### When I create new session on {Appium Server} <a href="#when-i-create-new-session-on-appium-server" id="when-i-create-new-session-on-appium-server"></a>

This starts new Appium session, and after that can now receive interactions. If application path or URL is not set, this will fail.

```
Scenario: Autokin Mobile
    Given that I set "iOS" as platform with version of "13.0"
    Given that I set "iPhone 11 Pro" as device
    Given that app is located at "http://www.autokinjs.com/myapps/myios_sample_app.zip"
    When I create new session on "https://appium.autokinjs.com:4723/wd/hub"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://autokin.gitbook.io/docs/autokin-mobile/when-steps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
