Xavient interview question

how selenium works