Skip to content

Commit

Permalink
appium clearField deprecated update
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisSenicourt committed Jan 14, 2025
1 parent ffeedc7 commit bd25427
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,7 @@ public MessageEvent longPress(final Session session, final Identifier identifier
@Override
public MessageEvent clearField(final Session session, final Identifier identifier) {
try {
final TouchAction action = new TouchAction((PerformsTouchActions) session.getAppiumDriver());
if (identifier.isSameIdentifier(Identifier.Identifiers.COORDINATE)) {
final Coordinates coordinates = getCoordinates(identifier);
click(session, identifier,0, 0);
} else {
click(session, identifier, 0 ,0);
Expand All @@ -578,7 +576,6 @@ public MessageEvent clearField(final Session session, final Identifier identifie
LOG.warn(e.getMessage());
return parseWebDriverException(e);
}

}

private Integer getNumberOfElements(Session session, Identifier identifier) {
Expand Down

0 comments on commit bd25427

Please sign in to comment.