Mac application automation

In my case I started 3 applications: Chrome, Firefox, Safari using Mac2 driver. I want to open it via BundleID and access a url and then convert it to web form so I can use it like a regular web page. If not, is there any way to switch from native app to ChromeDriver, FirefoxDriver and SafariDriver. I tried many ways of thinking but none of them worked. Can you suggest me how to solve this problem, I will try. Thank you very much

If you are just automating browsers use selenium:

https://www.selenium.dev/