1 2 3 4 5 6 7 8 9 10 11 12 13
| it('should get or set window position', function () { client.windowHandlePosition('{dc30381e-e2f3-9444-8bf3-12cc44e8372a}', {x: 100, y: 200}); browser.windowHandlePosition({x: 100, y: 200});
var position = browser.windowHandlePosition('{dc30381e-e2f3-9444-8bf3-12cc44e8372a}'); position = browser.windowHandlePosition();
console.log(position.value); });
|