sendSms
Simulate an SMS message being received on the Android emulator.
Note: Falls back to the deprecated Appium 2 protocol endpoint if the driver does not support the
mobile:execute method.
Usage
browser.sendSms(phoneNumber, message)
Parameters
| Name | Type | Details |
|---|---|---|
phoneNumber | string | The phone number the simulated SMS is sent from |
message | string | The text content of the simulated SMS |