appium-inspector icon indicating copy to clipboard operation
appium-inspector copied to clipboard

bug: ‘Open Session File…’ action only affects the first window; subsequent windows cannot be prefilled

Open mateusz-plociennik opened this issue 5 months ago • 1 comments

Is this an issue specifically with Appium Inspector?

  • [X] I have verified that my issue does not occur with Appium, and should be investigated as an Appium Inspector issue

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

  • The 'Open Session File...' action works for the first window opened in Appium Inspector.
  • For any windows created using 'File' > 'New Window', the 'Open Session File...' action does not prefill the session file. Instead, it seems to apply only to the first window.
  • If the first window is closed, leaving only the second window, attempting to use 'Open Session File...' still results in the session file being applied to the now non-existent first window. The second window remains unaffected, meaning session files cannot be loaded after the first window is closed.

Expected Behavior

  • The 'Open Session File...' action should function independently in each window, allowing session files to be loaded in any window, whether it's the first, second, or subsequent window.
  • If the first window is closed, session files should be applied to the active window, not a non-existent one.

Operating System

Mac

Appium Inspector Version

2024.8.2

Appium Version

2.11.3

Further Information

No response

mateusz-plociennik avatar Sep 12 '24 21:09 mateusz-plociennik