Stop Tab Discards

How to stop Google Chrome or Microsoft Edge auto-discarding WhatsApp Web tab?