Can a single connection be shared across multiple browser tabs?

Unfortunately, because of browser security models that ensure each tab is effectively sandboxed from every other, it is not possible to share a connection between tabs. As such, if a user has 3 tabs open, each with a connection to Ably, that will count as 3 connections.

 

Please note however that:

 

Also, from an Ably browser client library perspective, connections can be closed in one tab and resumed in another.