Hi @Allan_Zimmermann ,
i want to open a chrome browser in incognito mode, as we can open it in uipath , but i am not able to find any option in openrpa, please help.
Hi @Allan_Zimmermann ,
i want to open a chrome browser in incognito mode, as we can open it in uipath , but i am not able to find any option in openrpa, please help.
Here’s a sample flow for chrome:
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="oi2:NativeMessagingMessageTab[]" Name="myTabs" />
</Sequence.Variables>
<ou:StartProcess WaitForExitTimeout="{x:Null}" WorkingDirectory="{x:Null}" Arguments="--incognito" Filename="C:\Program Files\Google\Chrome\Application\chrome.exe" sap2010:WorkflowViewState.IdRef="StartProcess_1" WaitForExit="False" />
<Delay Duration="[TimeSpan.FromSeconds(5)]" sap2010:WorkflowViewState.IdRef="Delay_1" />
<on:GetTab Result="{x:Null}" Browser="chrome" sap2010:WorkflowViewState.IdRef="GetTab_1" Results="[myTabs]" />
<WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_1" Text="["URL: " & myTabs.First.url]" />
<on:OpenURL UserDataFolderMode="{x:Null}" UserDataFolderPath="{x:Null}" Browser="chrome" sap2010:WorkflowViewState.IdRef="OpenURL_1" NewTab="False" Url="https://discourse.openiap.io/latest" />
<on:GetTab Result="{x:Null}" Browser="chrome" Results="[myTabs]" sap2010:WorkflowViewState.IdRef="GetTab_2" />
<WriteLine sap2010:WorkflowViewState.IdRef="WriteLine_2" Text="["URL: " & myTabs.First.url]" />
</Sequence>
Please do note that:
After that things should work normally.
Also, when getting a browser tab, you can check if it is in incognito mode with yourTabVariable.incognito
(true/false), to make sure you’re catching the right one.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.