Records browser interactions for end-to-end tests and generates videos or GIFs with configurable encoding and annotations.