Skip to content

Commit

Permalink
Merge branch 'master' into accessibility-audit-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaUA authored Nov 10, 2023
2 parents 152e9de + 518858a commit 3ab6431
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [5.13.3](https://github.com/appium/WebDriverAgent/compare/v5.13.2...v5.13.3) (2023-11-10)


### Bug Fixes

* unrecognized selector sent to instance 0x2829adb20 error in clear ([#809](https://github.com/appium/WebDriverAgent/issues/809)) ([79832bc](https://github.com/appium/WebDriverAgent/commit/79832bc6c69e289091fbbb97aee6a1f1d17ca4c3))

## [5.13.2](https://github.com/appium/WebDriverAgent/compare/v5.13.1...v5.13.2) (2023-11-06)


Expand Down
7 changes: 6 additions & 1 deletion WebDriverAgentLib/Categories/XCUIElement+FBTyping.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,12 @@ - (BOOL)fb_clearTextWithSnapshot:(FBXCElementSnapshotWrapper *)snapshot
do {
if (retry >= MAX_CLEAR_RETRIES - 1) {
// Last chance retry. Tripple-tap the field to select its content
[self tapWithNumberOfTaps:3 numberOfTouches:1];

if ([self respondsToSelector:@selector(tapWithNumberOfTaps:numberOfTouches:)]) {
// e.g. tvOS 17 raised unrecognized selector error for XCUIElementTypeSearchField
// while following typeText worked.
[self tapWithNumberOfTaps:3 numberOfTouches:1];
}
return [FBKeyboard typeText:backspaceDeleteSequence error:error];
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appium-webdriveragent",
"version": "5.13.2",
"version": "5.13.3",
"description": "Package bundling WebDriverAgent",
"main": "./build/index.js",
"scripts": {
Expand Down

0 comments on commit 3ab6431

Please sign in to comment.