@testim/testim-cli
Version:
Command line interface for running Testing on you CI
15 lines (14 loc) • 306 B
JavaScript
/**
*
* Retrieve the current window handle.
*
* @returns {String} the window handle URL of the current focused window
* @uses protocol/windowHandle
* @type window
*
*/
module.exports = function getCurrentTabId () {
return this.unify(this.windowHandle(), {
extractValue: true
});
};