You have to make selectors dynamic by passing variable into selectors or using wild cards like star “*” or question mark “?”.
And also remove unnecessary attributes from selectors to work particular elements.
You have to make selectors dynamic by passing variable into selectors or using wild cards like star “*” or question mark “?”.
And also remove unnecessary attributes from selectors to work particular elements.