This page was last edited on August 27, 2020, at 22:14.
Comments or questions about this documentation? Contact us for support!
This article gives an overview of how Genesys Co-browse synchronizes CSS between the customer and agent browsers.
When a customer and agent are in a Co-browsing session, Co-browse tracks DOM-based and CSS-based changes in each browser and replicates changes from one browser to the other. All DOM-based changes pass from one browser to the other through the Co-browse server. Examples of DOM-based changes include creating new elements in the web page and adding or removing attributes from an element. To replicate CSS-based changes in the browser, Co-browse must make sure both browsers use the same CSS rules even when the customer and agent use different browsers. CSS-based changes can include drop-down menus and other hover events.
Some CSS-based changes depend on browser events that the server can not push from one browser to the other. By synchronizing CSS between the customer and agent, Co-browse server can replicate browser events it can not push. For example, the customer and agent browsers each have their own mouseover event that fires when the mouse pointer hovers over a web page element. Without CSS synchronization, CSS-based changes that fire based on the mouse pointer will show in one browser but not the other. To synchronize hover events, Co-browse server parses the web page CSS and adds a DOM-based pseudo-hover that fires the hover event on both browsers.
The following diagram describes how Co-browse synchronizes CSS between the customer browser and the agent browser:
The css option of the JavaScript Configuration API manages CSS synchronization. Genesys recommends using the server strategy and the css option is set to server by default. In some edge cases, changing the css option may produce better CSS synchronization results. For more about improving CSS synchronization, see the CSS synchronization section of the troubleshooting page.
If you deploy Co-browse into a secure zone like a DMZ or local intranet, you must make sure the Co-browse server can still access your public web page by configuring a Forward Proxy. Otherwise, Co-browse will not be able to synchronize CSS and the agent side may not properly render.
If some or all of the content of your website is not properly rendered on the agent side, it is most likely a CSS synchronization problem. See the CSS synchronization section of the troubleshooting page.