Can protractor be made to run slowly?

后端 未结 4 938
余生分开走
余生分开走 2020-11-30 00:00

Is there a way to run a Angular E2E test written using protractor slowly so that I can watch what is happening?

4条回答
  •  眼角桃花
    2020-11-30 00:27

    Previous answers look more like workaround. Another way is to add param to Protractor config:

    highlightDelay: 1000
    

    And change to:

    directConnect: false
    

    It will delay Protractor actions like clicking or typing for 1 second and will highlight in light blue.

提交回复
热议问题