If you would like to develop your own UI elements to start a session the following JavaScript methods are provided.

Open Modal

window.Cobrowse.modal.openModal()

will open the provided ScreenMeet session start modal. The ScreenMeet provided modal is not injected into the page until this method is called at least once.


Start Session

window.Cobrowse.modal.startSession(pin)

which given a 6 digit string of numbers will begin a cobrowsing session. This is intended to be used by an alternate UI element. This method returns a promise with a boolean, indicating if the session has started.


End Session

window.Cobrowse.modal.endSession()

will end any current cobrowse session.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment