To swipe between pages on a Mac with a trackpad, place two fingers on the trackpad and swipe them left or right. If you're using a Magic Mouse, place a single finger on it and swipe it left or right. The gesture can be enabled or disabled from the System Preferences menu.
Enabling Swipe Between Pages
Click the Apple menu.
This can be found in the upper-left corner of the screen.
Click System Preferences.
Click the Trackpad or Mouse option.
Select the option that corresponds to the device you’re using. If you don’t see the main System Preferences menu, click the Show All button at the top of the screen first.
Click the More Gestures tab.
Click the “Swipe between pages” box to enable or disable it.
Using a Trackpad
Open a web page.
Swipe between pages works best in any app that has pages you move between. For example, if you’re using a web browser this will take you back to your previously-visited page.
Place two fingers on your trackpad.
Swipe from left to right to view the previous page.
Swipe from right to left to view the next page.
Using a Magic Mouse
Open a web page in your browser.
This gesture works for any app that has you navigating between pages. The easiest way to test it is in your web browser.