Testing Mobile Safari via OSX container


#1

Is it possible to run Selenium tests on an OSX iOS simulator in Mobile Safari?


#2

@anon47539524 do you know?


#3

There are certain ways to launch and control apps with the xcrun command toolchain, but I couldn’t say for sure that any of this would work. I think they are rather designed around starting, launching and installing freshly compiled apps onto the simulator.

Wildest guess I have to solve the problem:
Write an AppleScript that launches the iOS Simulator on macOS and then opens Mobile Safari, enters URL etc.

Pretty sure that would work, but it’s a lot of work to create and write reliably. Maybe mix out of Automator script/AppleScript? Either way you’d need to really get creative to achieve this.


#4