Thank you for your replies!
I understand the suggestions, but from my point of view they are not applicable in my case.
Link for first access was:
…files/documents/2020-11/202011%20-%20ASE%20Official%20Alloy%20Extra.pdf
Link for second access is:
…/files/documents/202011%20-%20ASE%20Official%20Alloy%20Extra.pdf
I am directly accessing the pdf by using the url created by the pattern above, where only 202011 is changing according to the month (202012 for December). This monthly change we can handle, the exception occurs thanks to removing “/2020-11/” from the link pattern.
They removed a part of the link which is affecting our pattern. By using wildcards we would not find the pdf anymore and get “page not found”. I tried “get attribute” as well, but was not able to get the url.
It is tricky since the url pattern changes from time to time, I guess many people are facing these issues and solve it by manually adjusting every time. I am wondering if there is an easier, and more important, automated solution available which I do not know yet.
Thanks again and happy automating!
Andy