behat: element is not clickable at point xxxx

When testing with behat on my laptop I often get the following error shoved up my face:


Cause: another element is in front of my button. My laptop has a smaller screen what makes this happen. In this case it is the Symfony toolbar which is in front of my button as I am testing it on my development environment.

Solution: scroll! (or maximize your browser window when it pops up)


And you can use the following step in your test by using a CSS-selector :
0 Shares
>