Put the game in fullscreen automatically

Hi, I wanted to know if there is a way to put the game in full screen as soon as it starts, now it goes in fullscreen only when I click on the window.

I use phaser 3 in angular.

You need a click, tap, or key press.

I use this function to go full screen:

create() {
 this.input.on('pointerdown', () => {
  this.game.scale.startFullscreen();
 })
}

but after 2 or 3 clicks it goes to fullscreen.