Since upgrading to Safari 12, my automated scripts are now getting this error:
SessionNotCreatedError: Request body does not contain required parameter \'capabil
This will also work if you get an error for 'await' when trying @mjdease solution above.
new webdriver.Builder() .usingServer(new safari.ServiceBuilder().addArguments('--legacy').build().start()) .forBrowser('safari') .build();