appium-windows-driver icon indicating copy to clipboard operation
appium-windows-driver copied to clipboard

Driver performs very slowly when start with log file enabled (appium --log)

Open zewer opened this issue 1 year ago • 5 comments

Install Appium 2 'npm install -g [email protected]'

Install Windows driver 'appium driver install --source=npm [email protected]'

Open powershell and execute the following command (dont forget to update "user") cmd /c start powershell -Command { appium --log C:\Users\<User>\Desktop\appium.log }

Try to run any desktop test and compare with log file enabled and without. With log file enabled driver before each command will make 2-4 seconds wait Was able to reproduce this on Windows 10 local machine and Windows Server pipeline machines

Not reproducible on Appium 1

zewer avatar Oct 02 '24 09:10 zewer

This is weird. Could it be related to some antivirus activity or general i/o slowness?

Is the issue reproducible on multiple machines or only one?

mykola-mokhnach avatar Oct 02 '24 18:10 mykola-mokhnach

No. I dont have any antivirus on my local VM and without log file everything works as expected

zewer avatar Oct 02 '24 18:10 zewer

Can reproduce on all different machines which I have here (Windows 10/ Windows Server)

zewer avatar Oct 02 '24 18:10 zewer

Running tests on C# Using <PackageReference Include="Appium.WebDriver" Version="4.4.5" />

zewer avatar Oct 02 '24 18:10 zewer

Appium.WebDriver="4.4.5"

zewer avatar Oct 02 '24 18:10 zewer