Closed aristeia closed 5 years ago
This issue is specific to version 0.2.1, and doesnt appear in version 0.1.2
My code selects an element from the session, then uses one of the element methods on it:
wda.DEBUG=True passwordField = self.session(className="SecureTextField") passwordField.set_text(self.TEST_INPUT_DATA['PASSWORD'])
Yet, this element method throws an error because of a certain ** string that gets prepended to the value:
**
CHAIN: **/XCUIElementTypeSecureTextField Shell: curl -X POST -d '{"using": "class chain", "value": "**/XCUIElementTypeSecureTextField"}' 'http://127.0.0.1:8100/session/0C84F47E-06E6-43BF-AFB9-E0C882FB5112/elements' Return (58ms): { "status": 13, "sessionId": "0C84F47E-06E6-43BF-AFB9-E0C882FB5112", "value": "Cannot parse class chain query '**/XCUIElementTypeSecureTextField'. Unexpected character detected at position 2:\n**
Try to update WebDriverAgentRunner to latest to see if this issue fixed?
The issue is too old, reopen it, if it is still an issue.
This issue is specific to version 0.2.1, and doesnt appear in version 0.1.2
My code selects an element from the session, then uses one of the element methods on it:
Yet, this element method throws an error because of a certain
**
string that gets prepended to the value: