Problem with Browser Automation

Hello guys,

I have a bot which fills in entries into a form (edge browser).
First it runs fast but after some time it get slowly. It takes 3 x more time.

It seems that the browser goes into background computing.

When I click on the browser which the bot is working on it immediately gets faster.

Does anyone know how to fix this?

@Julian3 Did you try with Simulate and wait for complete load

Yes I tried all different input methods but nothing seemed to help. Its no workflow problem, because when i interact with the browser it goes back to fast processing

Has anyone encountered a similar problem?
I work on vm.

@Julian3 so you want to perform all steps slowly?

No,
I want that the steps to be performed fast.
But this works just for a while

@Julian3 You can make fast by only putting “Interactive and simulate” other than this there is no option available

Maybe i’m getting you wrong.

On the browser i have as input method

“Hardware Events”

I use webdriver mode

Webdriver.WithGUI

In my Set Text Activities i have

WaitForReady.NONE
And visibility check = NONE

@Julian3 Wait for ready “Interactive” what is the response?

If i use interactive it shows same behaviour

@Julian3 one last option you can decrease timeout of each activity. Otherwise no possible option

Hmm okay.

Maybe its something with the environment of the customer…

When i decrease the timeout of each activty the bot crashes more likely

@Julian3 yes its environment / portal issue. these were the possible scenarios which you already tried.

@Julian3

As you mentioned the bot gets faster after you manually click on the browser…

Please try using a random click on the browser for every transaction …and make sure it is a hardware click…and the click is performed on the browser window…you can use click activity with an offset and try

Cheers

Try and interact with the browser after regular intervals like click dummy labels n text , see if that helps, shoulnot be of simulate type

Hm no this doesn’t help.
But also if i pause the execution for a minute the bot runs fast again…
Don’t know where this comes from

@Julian3

Can you please check the cpu utilization while bot is running may be it is consuming a lot

cheers

about 15% from the executor.
All running processes maximum 40% consumption.
RAM Usage about 70%

@Julian3

If the site is responsive then check the option as below

and in all the activities try using wait for page load as interactive and check if that makes it fast

image

cheers

Well ich checked this.

When i look into my logfiles I get many of these messages.

2023-06-07T17:11:53.0997086+02:00 => [ERROR] [UiPath.Executor] [23.4.1.0]
System.BadImageFormatException: Bad IL format. The format of the file ‘C:\Users….nuget\packages\UiPath.cefsharpbundle.netcore\1.9.0\lib/net6.0-windows7.0/Ijwhost.dll’ is invalid.
at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at UiPath.Executor.WorkflowLoader.LoadReferencedAssemblies(), HResult -2147024885

Does anyone know how to fix this?

@Julian3

This is an issue that has been observed while converting projects from windows-legacy to windows mainly after 22.10.7 upgrade

generally it is occurring because of database packages or Intelligent ocr packags…try checking the compatibility if you are using any of them or change the versions of them and check

And these errors are actually not creating any problem in run of the bot

cheers