According to bok-choy guideline we should interact with browser in page. That's why I have written this.
https://github.com/edx/bok-choy/blob/master/docs/guidelines.rst