File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -105,20 +105,11 @@ desired_caps = {
105105## Step 3: Control Audio in Test
106106Inject the uploaded audio file from LambdaTest into the recorder or app when you are at the dedicated space for microphone input.
107107
108- ** Inject / Replace File**
108+ ** Inject File**
109109``` python
110110driver.execute_script(' lambda-audio-injection: {"action":"inject","arguments":{"media_url":"lt://MEDIA123..."}} ' )
111111```
112112
113- ** Start Audio**
114- ``` python
115- driver.execute_script(' lambda-audio-injection: {"action":"start"}' )
116- ```
117-
118- ** Stop Audio**
119- ``` python
120- driver.execute_script(' lambda-audio-injection: {"action":"stop"}' )
121- ```
122113::: note
123114The injected audio can come from a standalone audio file ** or** from the audio track of a recorded video.
124115:::
You can’t perform that action at this time.
0 commit comments