Google Pixel users can take screenshots by pressing and holding the power button and volume up button at the same time for a few seconds. The screenshot will be saved to your device’s memory.

Google Pixel 1 & 2: How to Take a Screenshot