In case you are looking to write a functional test in Javascript, the following tutorial provides a perfect structural and referential material for a UI automation engineer...