records browser states & replays then with selenium