AppiumLocalService starts duplicate application windows
See original GitHub issueHello, I am testing a Windows application using AppiumLocalService. The problem is that Appium will start duplicate app windows which will cause the tests to fail. Any idea how to remedy that?
Here is the Appium setup code: ` {
var appiumServiceBuilder = new AppiumServiceBuilder().UsingPort(4723).Build();
appiumServiceBuilder.Start();
var appiumOptions = new AppiumOptions();
appCapabilities.AddAdditionalCapability("app", "appPath");
appCapabilities.AddAdditionalCapability("fullReset", true);
appCapabilities.AddAdditionalCapability("newCommandTimeout", 60);
//This line causes duplicate app launches
WindowsDriver<WindowsElement> session = new WindowsDriver<WindowsElement>
(appiumServiceBuilder, appiumOptions);
} `
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top Results From Across the Web
Appium: Couldn't start the appium server in Windows
Start the Windows Task Manager by pressing Ctrl+alt+Del. Under Processes tab kill the ' node.exe ' process. Try to start the Appium server ......
Read more >Windows opening multiple copies of the same application
Sometime ago I had to launch taskmanager and noticed that for some reason my Windows 10 launches the exact same applications multiple times....
Read more >How to start Appium Server Programmatically?
OR Press Windows Key + R and enter cmd in the Run window and hit Enter. Command Prompt. Copy the first path received...
Read more >Test Windows Desktop App using Appium-Compatible ...
Step-by-Step tutorial to test windows desktop app using Appium Compatible WinAppDriver using a windows application example.
Read more >Getting Started with Appium for Android Java on Windows ...
ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you share the appium logs
We tried a different port and tried moving the AppiumLocalService to a static class, the result was the same, the app would launch duplicate times for some reason. We are using xUnit as the test framework, and have limited the threads to one.
Regards