[ios] Center long press WKebView links for egtests.
EarlGrey doesn't natively support tapping on links within WKWebView, and the long press implementation hack used doesn't work well with links near the edge of the page when allowsBackForwardNavigationGestures is enabled. As this is a test only issue, a simple fix is to just center the items being long pressed. Tbr: eugenebut Bug: 910375 Change-Id: Ibb7079b22e1ce1d8baa52f0205be038dfec9d2c4 Reviewed-on: https://chromium-review.googlesource.com/c/1356034 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by:Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#612571}
Showing
Please register or sign in to comment