man safaridriver provides us what feature we can get by the command. Below is a note what capabilities are available for us. (Please ensure what capabilities etc are available on your target platform before using them.) My environment was macOS 10.14.6.
- Session Creation
browserName,browserVersion,platformName,safari:platformVersion,safari:platformBuildVersion,safari:useSimulator,safari:deviceType,safari:deviceName,safari:deviceUDID
- Other
safari:automaticInspection,safari:automaticProfiling,safari:diagnose,webkit:WebRTC
The below quote is the most important line. We cannot run the driver as a server service which accept requests from outside the server instance.
For security reasons, the HTTP server accepts connections from localhost only.