Go back to previous link in shiny

I have a simple shiny application (app1) where when the user clicks on the action button (action 1), it is taking to another shiny application(app 2) in another tab. But there is also another action button (action 2) in app2. So when the user clicks on action 2, it should take him to the previous page(app1). Can we do this?

library(shiny)

ui <- fluidPage(
  actionButton("aid","Click here")
)

server <- function(input, output, session) {
  observeEvent(input$aid{
    #### open another link(shiny application) in the browser (different tab)
  })
}

shinyApp(ui, server)