Open anton-kulagin opened 6 years ago
Could you help me with sending X and Y to mousePressed method. i want get it by rect and saved to variables or send in chain to next method(in my case mousePressed) How can i do it with predefine X and Y
.wait(mousePressedSelector) .mousePressed(200,200)
How i want do it
var tempRect = {}; chromy .wait(mousePressedSelector) .rect(mousePressedSelector) .result(function(rect){ tempRect =rect }) .mousePressed(tempRect.left,tempRect.right)
And when it run mousePressed my chrome closed and looks like it do not apply.
Could you help me with sending X and Y to mousePressed method. i want get it by rect and saved to variables or send in chain to next method(in my case mousePressed) How can i do it with predefine X and Y
How i want do it
And when it run mousePressed my chrome closed and looks like it do not apply.