epilande / alfred-browser-tabs

🔍 Search browser tabs from Chrome, Arc, Brave, Safari, etc..
MIT License
415 stars 38 forks source link

v1.0.6 broke functionality for Chrome Tab Switching #51

Open bessx opened 4 months ago

bessx commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

galillei commented 3 months ago

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 commented 3 months ago

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

epilande commented 3 months ago

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

image

galillei commented 3 months ago

yes,

image
LamForest commented 3 weeks ago

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