Ionic capacitor browser Api opening new tab

I am using capacitor browser API to open a window but the problem is it is opening new tab not staying on the current tab. How to prevent this?

Thank you in advance

Here is the code

import { Plugins } from '@capacitor/core';
const { Browser } = Plugins;


async test(){
  await Browser.open({url : 'http://localhost:8100/tabs/tab2'});

}

HTML

  <ion-button (click)="test()">test</ion-button>