Is it possible to create selenium webdriver scripts just looking at test cases, use cases or requirements.
I always wonder how the scripts could be created in advance when the functionality has not been implemented in the product.
How could you get the locators and all the details of the application flow to add in your scripts?
In a fast paced environment where testers are mostly writing test cases before development, how an automation can be done in that phase by just looking at the requirements?

In another scenario, testers are delivered with the implemented functionalities in the environment where developers keep making changes by adding or improving functionalities, the test script fails at some point due to those changes.

I sometimes come across this question, Have you created selenium scripts for new functionalities?
And I ask myself the same question again and again, is that even possible?

From my understanding, a tester need a stable test environment to create scripts where functionality has been completely implemented and no further changes being made by dev team.