Found the right doc about browser API and fixed the test

https://developer.mozilla.org/en-US/docs/WebAPI/Browser