Jacobvu84 / selenium-vietnam-training-course

Questions Tracking
7 stars 5 forks source link

simctl: Control iOS Simulators from Command Line #63

Open Jacobvu84 opened 5 years ago

Jacobvu84 commented 5 years ago

simctl-control-ios-simulators-from-command-line

ios-simulator-command-line-tricks

================ Jacob Vu khóa học Selenium WebDriver online cho cá nhân

Jacobvu84 commented 5 years ago

Record simulator video

xcrun simctl io booted recordVideo  ./test.mp4
Jacobvu84 commented 5 years ago

Launch any url or you can use url scheme to launch your app directly

xcrun simctl openurl booted https://google.com
xcrun simctl openurl booted myapp://
Jacobvu84 commented 5 years ago

Upload photo or video file to photos app

xcrun simctl addmedia booted ./test.mp4
Jacobvu84 commented 5 years ago

Launch multiple simulators

xcrun simctl boot 12F3C6FB-1A8A-4D20-922F-2DB485F58F0F
xcrun simctl boot BE53CBFF-4900-4F10-A1D4-B451AB4C9E7E
open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/