Skip to content

[FEATURE] Implement cleaner quit function for appium drivers. #265

@ty-desj

Description

@ty-desj

Appium quit/close functions are not reliable methods of closing tabs. Frequent tests can lead to several tabs being open at once putting potential strain on the devices under test. Possible solutions:

  1. Using adb (android) to clear all data related to chrome.
    • This approach requires using adb commands sent directly to the hardware/simulator
    • Chrome will be in "first use" mode including welcome message, which can be disabled
  2. Using the Appium native view to select "close all tabs".
    • Unclear if this would function the same on all devices. Relies on using Native locators.
    • Possibly more time consuming, reliability is unknown
  3. Leave it unchanged, rely on users to perform clean up themselves.
  4. Apple devices have a "timeout" option to automatically close tabs after minimum 24 hours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions