How to set AppActivity capability to use ACTION_VIEW appintent?

What is the equivalent of launching an app with intent set?

For example, on the command line, we use

adb shell am start -W -a android.intent.action.VIEW -d “”

to launch yelp so it navigates to a page. I want to do the same using capabilit. I tried

capabilities.SetCapability(“AppActivity”, “android.intent.action.VIEW”);

but that has no effect. Any help??