Hi Anvi, try using a different browser to perform you automation and check if the same error persists. I faced the same issue and I figured out that in my environment, the Chrome Native Messaging capability within Chrome itself was broken, determined by finding a few other Google Extensions from the Play store that required this capability, none of which worked.
So it's not a UIPath problem, but a Chrome problem, despite running the latest version of Chrome. The fix was to uninstall and re-install Chrome - remembering to install from https://google.com/chrome and updating the chrome extension.
You can also try following these steps, if above hack doesn't work:
- Use Attach window activity and inside the container click on the"Indicate window on screen" and here select your IE/Chrome whole window, which has the output variable as windows type ,give some variable name (X) in the property section.
- Inside the “do” container use the “Maximize activity” and pass the window variable(X) as the input.
- As browser is dynamic you need to modify the selector by clicking on “attach the live element” from selector editor and click on the browser window.