
How can I set the Browser URL from Coded Workflow ?
I tried Descriptors.R1.R1LoginPage where R1 is my application and R1LoginPage is the screen. But I do not get any option to reach the ‘Browser Url’ property.

How can I set the Browser URL from Coded Workflow ?
I tried Descriptors.R1.R1LoginPage where R1 is my application and R1LoginPage is the screen. But I do not get any option to reach the ‘Browser Url’ property.
Hi,
Do you need to open URL in Coded Workflow? if so, the following helps you.
public void Execute()
{
var appModel= new TargetAppModel();
appModel.WithUrl("https://forum.uipath.com/latest","<html app = 'chrome.exe'/>",NBrowserType.Chrome);
var taOptions= new TargetAppOptions();
taOptions.OpenMode = NAppOpenMode.IfNotOpen;
var applicationScreen = uiAutomation.Open(appModel,taOptions);
applicationScreen.TypeInto(Target.FromSelector("<webctrl id='search-term' tag='INPUT' />"), "Hello");
}
Sample
Sample20240521-1.zip (2.9 KB)