-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
Finding an element by xpath is no longer working since iOS 7 / XCode 5 upgrade.
driver.find_element :xpath, '//alert'
info: [INST] 2013-10-09 01:01:39 +0000 Default: Got new command 19 from instruments: au.getElementByXpath('//alert')
info: [INSTSERVER] Socket data received (50 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":7,"value":null}
info: Responding to client with error: {"status":7,"value":{"message":"An element could not be located on the page using the given search parameters."},"sessionId":"8ab8dad5-bb6c-4339-8b7c-c8e7b4a0866d"}
POST /wd/hub/session/8ab8dad5-bb6c-4339-8b7c-c8e7b4a0866d/element 500 5121ms - 186
UIAWindow "(null)" {{0, 0}, {320, 568}}
elements: {
UIAImage "(null)" {{25, 201.5}, {270, 165}}
UIAAlert "“Lookout” Would Like to Access Your Contacts" {{25, 201.5}, {270, 165}}
elements: {
UIAScrollView "(null)" {{25, 201.5}, {270, 102}}
elements: {
UIAStaticText "“Lookout” Would Like to Access Your Contacts" {{40, 220.5}, {240, 43}}
UIAStaticText "Required to back up your contacts to Lookout.com" {{40, 267.5}, {240, 36}}
}
UIATableView "Empty list" {{25, 322.5}, {135, 44}}
elements: {
UIATableCell "Don’t Allow" {{25, 322.5}, {135, 44}}
}
UIATableView "Empty list" {{160, 322.5}, {135, 44}}
elements: {
UIATableCell "OK" {{160, 322.5}, {135, 44}}
}
}
}