How to move jquery-ui slider with CasperJS

后端 未结 2 538
逝去的感伤
逝去的感伤 2021-01-13 16:13

Is there any way to move the jQuery UI – Slider with CasperJS ?

I also found this github issue while searching for a possibility to just click on the left or right o

2条回答
  •  礼貌的吻别
    2021-01-13 16:49

    To move the slider works as follows:

    casper.mouse.down(100,100);
    casper.mouse.move(200,200);
    casper.mouse.up(200,200);
    

    with

    casper.capture('test1.jpg');
    

    called before and after the three mouse lines you should see the differene.

提交回复
热议问题