Testing Mobile Safari via OSX container

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

1 Like

@anon47539524 do you know?

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.

1 Like