lock
Lock the device.
Usage
1 | browser.lock(seconds); |
Parameters
Param | Type | Details |
---|---|---|
seconds | Number | wait in seconds until lock screen |
Example
1 | it('demonstrate the lock and unlock command', function () { |
Lock the device.
1 | browser.lock(seconds); |
Param | Type | Details |
---|---|---|
seconds | Number | wait in seconds until lock screen |
1 | it('demonstrate the lock and unlock command', function () { |