Pergunta de entrevista da empresa Accenture

How to locate elements Which is best css Or xpath