Try rewriting to not use static ID's
Could also check to make sure the tab is actually opened before looking to interact with a widget since
getTabs().open
should be a boolean ?
Hope this helps!
You're using a bot, saying it looks like a bot I can't record hand data to make it function any better than it already does. I use OSBot's mouse methods and interactions.