Skip to content
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

fix: respect defaultActiveApplication in activeApplication selection #862

Merged
merged 6 commits into from
Mar 13, 2024

Conversation

KazuCocoa
Copy link
Member

@KazuCocoa KazuCocoa commented Mar 13, 2024

I wondered if we could follow defaultActiveApplication first if it was not auto, which means the session explicitly wants to interact with the defaultActiveApplication first.

Then, driver.settings.update({defaultActiveApplication: 'com.apple.springboard'}) would help to interact with springboard elements in a session like keyboard as well. It is easy to move to the default behavior with driver.settings.update({defaultActiveApplication: 'auto'})

Maybe.. current implementation no longer work with defaultActiveApplication unless a session does not include bundleId/app

@KazuCocoa KazuCocoa changed the title chore: respect defaultActiveApplication feat: respect defaultActiveApplication Mar 13, 2024
@KazuCocoa KazuCocoa changed the title feat: respect defaultActiveApplication feat: respect defaultActiveApplication in activeApplication selection Mar 13, 2024
@KazuCocoa KazuCocoa changed the title feat: respect defaultActiveApplication in activeApplication selection fix: respect defaultActiveApplication in activeApplication selection Mar 13, 2024
@KazuCocoa KazuCocoa merged commit b1ddae2 into master Mar 13, 2024
46 checks passed
@KazuCocoa KazuCocoa deleted the default-active-app branch March 13, 2024 18:47
github-actions bot pushed a commit that referenced this pull request Mar 13, 2024
## [7.1.1](v7.1.0...v7.1.1) (2024-03-13)

### Bug Fixes

* respect defaultActiveApplication in activeApplication selection ([#862](#862)) ([b1ddae2](b1ddae2))
Copy link

🎉 This PR is included in version 7.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants