I wrote automation script using selenium java. I want to know if it is possible to for the code to do its job even after there is some change in the website's UI.
If the code will not work after update then is there any way to write a script that works even after the website's UI is changed.
Depends on the nature and the scale of changes. Some examples:
Automation framework may still succeed on website changes if:
Automation framework may not succeed on website changes if: