Skip to content

Commit edd6bf7

Browse files
add java client usage to commands.md (#23)
1 parent aedf643 commit edd6bf7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/commands.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ Add a new mock specification for intercepting and updating the request. The comm
4242

4343
#### Example:
4444

45+
46+
***Note:*** Below example uses wedriver.io javascript client. For Java client you need to use `((JavascriptExecutor) driver).executeScript()` for executing commands instead of `driver.execute()`
47+
48+
49+
4550
```javascript
4651
const authorizationMock = await driver.execute("interceptor: addMock", [{
4752
config: {

0 commit comments

Comments
 (0)