Chrome window is contracting in Unattended automation

Hello, M trying to perform few operations like click on SAP website on chrome.
While running bot manually it’s running perfectly fine but when it’s being run in unattended mode, it’s not able to see few elements as the chrome window/SAP website is getting contracted not sure and it starts giving below mentioned issue while performing a click. Also, we can see scroll buttons on webpage as well which are not visible during the manual runs. Urgent help is needed.

Error Message: The UiElement is no longer valid
Error Source: UiPath.UiAutomation.Activities

@anjali123

Please set the resolution in robot settings

That way the issue of skewed window will be removed

Tenant → edit users → robot settings → set login to console false and set the resolution

Cheers

1 Like

@anjali123,

Check the Robot screen resolution from Orchestrator. It should be same as the machine you developed the code.

image

Thanks,
Ashok :slight_smile:

1 Like

Will it impact the other BOTs as well which are running on the machine?

@anjali123,

If they are screen resolution sensitive, yes they will be affected.

Thanks,
Ashok :slight_smile:

1 Like

Oh okay, thanks for the help

1 Like

@ashokkarale : is there any way by which we can give custom resolution for each process in UiPath code itself?

@anjali123,

I don’t think so and I would suggest to not to do that as well. Keep a standard resolution like Full HD (1920 pixels horizontally x 1080 pixels vertically).

Thanks,
Ashok :slight_smile:

1 Like

Sure, thanks for the advice.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.