appium-device-farm icon indicating copy to clipboard operation
appium-device-farm copied to clipboard

Not disposed devices streaming

Open GFPCommand opened this issue 11 months ago • 3 comments

Describe the bug

When I click on Refresh button on the UI, session has been closed, but stream continue to load view from simulator. Actually simulator not blocked already.

Environment

  1. Appium version (or git revision) that exhibits the issue: 3.1.2
  2. Last Appium version that did not exhibit the issue (if applicable): unknown
  3. Node.js version (unless using Appium.app|exe): 25.2.1
  4. Npm or Yarn package manager: 11.6.2
  5. Mobile platform/version under test: iOS 17+
  6. Real device or emulator/simulator: real devices and simulators/emulators
  7. Appium CLI or Appium.app|exe: appium cli

GFPCommand avatar Dec 12 '25 08:12 GFPCommand

Can you give me steps to reproduce

saikrishna321 avatar Dec 12 '25 09:12 saikrishna321

@saikrishna321 Just run appium with --use-plugins=device-farm and tap on Use device with real iOS device or iOS simulator. If you open dev tool in browser (i've tried in Google Chrome & MS Edge) in network tab screen streaming will send data even if you open another page in same page. If open new connection via Use device, previous stream will be closed. Also you can open stream in separate tab when close stream session.

GFPCommand avatar Dec 14 '25 17:12 GFPCommand

@saikrishna321 up)

GFPCommand avatar Dec 28 '25 15:12 GFPCommand