-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
The objective c bindings are unable to start a WebDriverAgent session. The code runs, it just does nothing.
import Foundation
import Selenium
let appPath = "/path/to/app.app"
let caps:SECapabilities = SECapabilities()
caps.addCapabilityForKey("bundleId", andValue: "com.example.bundleid")
caps.app = appPath
let driver = SERemoteWebDriver(serverAddress: "http://localhost", port:8100)
driver.startSessionWithDesiredCapabilities(caps, requiredCapabilities: nil)
driver.findElementBy(SEBy(locationStrategy: "id", value: "some_id"))
driver.quit()
tspike