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

v1.0.6 broke functionality for Chrome Tab Switching #51

Open
bessx opened this issue Jun 10, 2024 · 8 comments
Open

v1.0.6 broke functionality for Chrome Tab Switching #51

bessx opened this issue Jun 10, 2024 · 8 comments

Comments

@bessx
Copy link

bessx commented Jun 10, 2024

MacBook Pro 14,1
2.3 GHz Dual-Core Intel Core i5
8 GB 2133 MHz LPDDR3
macOS 13.6.7 (22G720)

After updating to v1.0.6, chrome tabs still show properly in list, but selecting/switching to active tab is fails.

@epilande
Copy link
Owner

Are there any specific errors that you are encountering when trying to select or switch to a tab? Could you please open the workflow debugger to check if there are any errors or issues logged in there that might be causing the problem?

@joe-allen
Copy link

Hello @epilande (thank you for this awesome workflow). I'm seeing this issue too in v.1.0.6

The error msg I'm getting is:

ERROR: Browser Tabs[Run Script] ./focus-tab.js: execution error: Error: Error: Invalid index. (-1719)

I put a console log on browserProcess here but was not seeing anything returned.

@epilande
Copy link
Owner

@joe-allen what browser are you using? Can you console log browserName

@galillei
Copy link

good day, yeah I have the same issue.
How to reproduce:
Open more than one profile in chrome and try to switch between tabs, and I got precisely the same issue as below
ERROR: Browser Tabs[Run Script] ./focus-tab.js: execution error: Error: Error: Invalid index. (-1719)
My computer:
MacBook Pro
15-inch, 2018
Processor
2,6 GHz 6-Core Intel Core
i7
macOS 14.5 (23F79)

@galillei
Copy link

Switch back to version 1.0.5. And it works like a sharm

@epilande
Copy link
Owner

Does Alfred have the appropriate accessibility permissions? https://www.alfredapp.com/help/getting-started/permissions/#accessibility

image

@galillei
Copy link

yes,
image

@LamForest
Copy link

LamForest commented Oct 10, 2024

Same problem with v1.0.7
[16:13:08.178] ERROR: Browser Tabs[Run Script] ./focus-tab.js: execution error: Error: Error: Invalid index.。 (-1719)

v1.0.5 works for me

mac M1 pro
macOS 13.5
Alfred 5.0.5
chrome 129.0.6668.100 arm64

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

No branches or pull requests

5 participants