forked from enviPath/enviPy
Current Dev State
This commit is contained in:
26
static/js/ketcher2/node_modules/webdriverio/lib/protocol/unlock.js
generated
vendored
Normal file
26
static/js/ketcher2/node_modules/webdriverio/lib/protocol/unlock.js
generated
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
*
|
||||
* Unlock the device.
|
||||
*
|
||||
* <example>
|
||||
:unlockIt.js
|
||||
it('demonstrate the lock and unlock command', function () {
|
||||
browser.lock();
|
||||
console.log(browser.isLocked()); // true
|
||||
|
||||
browser.unlock();
|
||||
console.log(browser.isLocked()); // false
|
||||
});
|
||||
* </example>
|
||||
*
|
||||
* @type mobile
|
||||
* @for android
|
||||
*
|
||||
*/
|
||||
|
||||
export default function unlock () {
|
||||
return this.requestHandler.create({
|
||||
path: '/session/:sessionId/appium/device/unlock',
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user