Validation when link from app goes to browser

Hi,

I am testing an app on Android with Appium, it’s a Native app. There’s a HELP link in the menu which actually opens a Help page in the browser, NOT inside the app. Is there a way I could validate that the right page is opened somehow? This is a completely different context, I have no clue how to access it…

Actually, the solution was incredibly simple. When in browser, the browser becomes the active app. So if I do this:

driver.findElementById(“com.android.chrome:id/url_bar”).getText();

I get the current URL…