Protractor stale element reference when using the each() method

前端 未结 4 454
一向
一向 2021-01-14 15:24

I am getting the error below as a result of using the each() method in protractor. It has worked fine in the past but is now consistently failing with this error.

4条回答
  •  孤城傲影
    2021-01-14 16:00

    Thanks to everyone who helped. The solution was retry again if it resulted in error. Due to the realtime nature of the element, the element reference was changing before it had got the css width.

提交回复
热议问题