There is a thing: I have an element which I need to select using their src attribute, but the src attribute is like this:
src = "https://xyz.amazonaws.com/c95eb334-e9ae-43c3-a75d-e926efa4661e/wardrobe/1601210284_bag-thumbnail.jpg?AWSAccessKeyId=AKIAVQ6TQWKMM4EMM232&Expires=1626957604&Signature=d3ITnIQDEvIk3UknRjEMuglUF0I%3D"
I am interested with this part: "1601210284_bag-thumbnail.jpg". The last part of the src is changing with every login/logut so I can't just make an assertion for all the src value.
Is there any way to select the element using only part of the src attribute? Any Ideas?
EDIT: I found that jQuery has somethig like attribute-contains-selector like this: [attr*=value]. Is there any similar in testcafe?