EPAM Systems interview question

Which is more important API or UI automation