Maximize window Does not worked with command line execution


I have some tests which are Integrated in Azure DevOps. The Maximize window step takes lot of time and does not seems to be working, i have checked with Chrome browser.
Is there any option we can use it? Looks like its an issue.
When i run the test suite on UI it works fine but with command line, doe not work


@Rahul_Patil, Maybe you encounter the same issue as in this post. Please try its solution to see if it works.