method Location.replace Location.replace(url: string): void Removes the current page from the session history and navigates to the given URL. Disabled. Parameters url: string Return Type void