Need to wait for the UI process to get the right state before starting the swipe.
<rdar://problem/107403038>
Pull request: https://github.com/WebKit/WebKit/pull/12159
Committed 262337@main (fbbdeface10b): <https://commits.webkit.org/262337@main> Reviewed commits have been landed. Closing PR #12159 and removing active labels.