Xebia interview question

What and how selenium testing works?