* Send a new command to a session
(options: Options<SessionCommandData, ThrowOnError>)
| 651 | * Send a new command to a session |
| 652 | */ |
| 653 | public command<ThrowOnError extends boolean = false>(options: Options<SessionCommandData, ThrowOnError>) { |
| 654 | return (options.client ?? this._client).post<SessionCommandResponses, SessionCommandErrors, ThrowOnError>({ |
| 655 | url: "/session/{id}/command", |
| 656 | ...options, |
| 657 | headers: { |
| 658 | "Content-Type": "application/json", |
| 659 | ...options.headers, |
| 660 | }, |
| 661 | }) |
| 662 | } |
| 663 | |
| 664 | /** |
| 665 | * Run a shell command |
no outgoing calls
no test coverage detected