I have a list of countries where the product is available. I am looking for the code to check whether any duplicate value exists in the list of countries.
They are giving like this: AZ,CA,GB, AU,AR,AT,MX,NL,NZ. How do I check in Selenium if a duplicate value exists with a loop?