Skip to content

Add support for the --reinstall-driver option to AndroidDriver #2520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Thomvis
Copy link

@Thomvis Thomvis commented Jun 4, 2025

Proposed changes

Add support for --reinstall-driver option to AndroidDriver. This allows forcing fresh driver installation instead of reusing existing sessions, improving debugging and testing workflows.

Testing

  • Functionality has been tested directly by invoking the CLI
  • Tested by invoking it in a larger automated workflow

Issues fixed

N/A - Enhancement to improve debugging workflow

If --reinstall-driver false is passed, the driver will attempt to connect
to an already running server on the device. Also, the server will be kept
running after the command has finished so a next command can connect to it.

This significantly speeds up the execution of consecutive commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant