Shakevg

Results 62 comments of Shakevg

> Hi, I am trying to automate the Microsoft LinkedIn application with java -Selenium, WinAppDriver for demo purpose. Application get launch but its getting failed due to Failed to locate...

@Tree55Topz may set focus on the app before maximizing help to improve stability ```csharp sessoin.SwitchTo().Window(sessoin.CurrentWindowHandle); ```

[Karthikeyan021298](https://github.com/Karthikeyan021298) I suggest recreating Teams session in this case by process name

@lvargas99 You can use the next code to attach to the existing window by process name or window name [comment](https://github.com/microsoft/WinAppDriver/issues/534#issuecomment-562030077) Also, try to check: - my be you have several...

[avi8045](https://github.com/avi8045) Also you can create a wrapper for control and print control locator on error: something like that https://www.ontestautomation.com/using-wrapper-methods-for-better-error-handling-in-selenium/#:~:text=Extending%20your%20wrapper%20methods%3A%20logging

[lbranko](https://github.com/lbranko) I suppose that the issue related to changing controls displayed on your Desktop, When you try to search your app related to the Desktop, the speed depends on how...

It also can be after Windows update

I suppose it is just related to some different behavior under Win 11 (I saw that it can be different behavior and controls under different Win build versions). What timeout...

[VladislavShcherba](https://github.com/VladislavShcherba) Can you try to create a new session for each test by process name and check if it will help?

[kfertitta](https://github.com/kfertitta) Is it stable if you add some sleep before? FindElementByXPath and FindElementsByXPath have different behavior: FindElementByXPath try to search for an element during the ImplicitWait wait time, but FindElementsByXPath...