Domanda

Is there any limitation on wait period in selenium web driver .

Thanks guys

È stato utile?

Soluzione

I feel like the answer is NO.

But in my case, the longest wait I utilized, was 10 seconds. You will soon get to the amount of time where you know:

  • If the element did not appear yet, It will probably not come up at all
  • Also, waiting longer than, say 30 seconds, is generally bad idea. Put your user hat on: Would you wait for service longer than 30 secs?
  • Yes, I know that test environments are mostly strip down and underpowered. But still, if it takes really long time to test the service, it gives sense to invest to test environment, or at least do the performance test.

(Example to the last: count the time you spend on waiting. Multiple it by your hourly salary. That much money is company losing simply because they pay you to do nothing. But on other hands, I am tester, and sometimes I do enjoy the good time for book and coffee during "work" waiting for deployment :) )

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top