Adds support for frames

- page#SwitchToParentFrame is not supported by PhantomJS