if trying to click on a webelement in a frame, use synthetic events as it is not easy to calculate the location of the element if there are nested frames

Fixes #231