[android-components](../../index.md) / [mozilla.components.browser.engine.gecko.webextension](../index.md) / [GeckoWebExtension](index.md) / [registerTabHandler](./register-tab-handler.md)

# registerTabHandler

`fun registerTabHandler(tabHandler: `[`TabHandler`](../../mozilla.components.concept.engine.webextension/-tab-handler/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-beta/src/main/java/mozilla/components/browser/engine/gecko/webextension/GeckoWebExtension.kt#L274)

Overrides [WebExtension.registerTabHandler](../../mozilla.components.concept.engine.webextension/-web-extension/register-tab-handler.md)


`fun registerTabHandler(session: `[`EngineSession`](../../mozilla.components.concept.engine/-engine-session/index.md)`, tabHandler: `[`TabHandler`](../../mozilla.components.concept.engine.webextension/-tab-handler/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-beta/src/main/java/mozilla/components/browser/engine/gecko/webextension/GeckoWebExtension.kt#L300)

Overrides [WebExtension.registerTabHandler](../../mozilla.components.concept.engine.webextension/-web-extension/register-tab-handler.md)

See [WebExtension.registerTabHandler](../../mozilla.components.concept.engine.webextension/-web-extension/register-tab-handler.md).

