This PR fixes the flakiness by replacing custom GoBack()/GoForward() helpers with HistoryGoBack() and HistoryGoForward() from Chromium's browser_test_utils, which wait until navigation is finished before returning.
This PR fixes the flakiness by replacing custom GoBack()/GoForward() helpers with HistoryGoBack() and HistoryGoForward() from Chromium's browser_test_utils, which wait until navigation is finished before returning.