Tableau Desktop uses an embedded browser. This browser might lack some features that modern browsers do. The end result can cause the simulator to return something different than that of Tableau Desktop.
I would check the following section of GitHub that has a couple suggestions of what can cause these issues.
Hope this helps!