Skip to content

Commit

Permalink
Fixing IE driver keyboard actions to better synchronize with mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Aug 8, 2019
1 parent fd6981b commit fed468f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/iedriver/InputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ int InputManager::GetTicks(const Json::Value& sequences, Json::Value* ticks) {
// sequences. This is deliberately in violation of the W3C spec.
// This allows us to better synchronize mixed keyboard and mouse
// action sequences.
action["duration"] = 0;
action["duration"] = 10;
}
}
(*ticks)[action_index].append(action);
Expand Down Expand Up @@ -405,7 +405,7 @@ int InputManager::PointerMoveTo(BrowserHandle browser_wrapper,
LOG(WARN) << "No offset was specified, and the center point of the element could not be scrolled into view.";
return status_code;
} else {
LOG(WARN) << "Element::CalculateClickPoint() returned an error code indicating the element is not reachable.";
LOG(WARN) << "Element::GetStaticClickLocation() returned an error code indicating the element is not reachable.";
return status_code;
}
}
Expand Down

0 comments on commit fed468f

Please sign in to comment.