I found an article that seems to have officially introduced the safari web driver from iOS 13. (Webdriver is Comming to Safari in iOS13) I couldn't find an article on how to do it at all. So I tried and errored myself, and I was able to move it, so I would like to keep a record.
--Settings → Safari → Advanced → Turn on remote automation --To connect iPhone to MAC and trust this computer Yes
First install selenium
pip install selenium
Below is the code in python
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
desiredcapabilities= DesiredCapabilities.SAFARI.copy()
desiredcapabilities["platform"]="ios"
driver =
webdriver.Safari(desired_capabilities=desiredcapabilities)
driver.get("https://google.co.jp")
You can run safari on iphone from mac
Recommended Posts