fix for issue 496
Merge pull request #497 from calabash/runGetUrlOnViewThread

fix for issue 496