Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zewer opened this issue Oct 2, 2024 · 5 comments
Open

Comments

@zewer
Copy link

zewer commented Oct 2, 2024

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

@mykola-mokhnach
Copy link

mykola-mokhnach commented Oct 2, 2024

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?

@zewer
Copy link
Author

zewer commented Oct 2, 2024

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

@zewer
Copy link
Author

zewer commented Oct 2, 2024

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

@zewer
Copy link
Author

zewer commented Oct 2, 2024

Running tests on C#
Using

@zewer
Copy link
Author

zewer commented Oct 2, 2024

Appium.WebDriver="4.4.5"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants