# Wait For Text

This activity waits for a specific text on a previously opened Cmd Session.

### Input

* **Cmd Session:**[`Process Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables#process) <mark style="color:red;">`Required`</mark>\
  Specifies the variable containing the previously opened Cmd Session.
* **Search Text Pattern:**[`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments) <mark style="color:red;">`Required`</mark>\
  Specifies the text to be searched.

### Options

* Timeout:[`Integer Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)\
  Specifies the time period to wait for the given text pattern.
