Swift-WebDriver This is WebDriver integration with Swift 4. This requires ChromeDriver to be running locally. Program flow Launches chrome browser by creating session Navigates to www.icloud.com Login with username and password References https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol https://w3c.github.io/webdriver/ https://developer.apple.com/documentation/foundation/url_loading_system/uploading_data_to_a_website