# Simulator not showing correct page info when using Joe Workman's Agent stack

**URL:** <https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830>\
**Category:** RapidWeaver Classic\
**Created:** [October 15, 2018, 9:40am UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830 "2018-10-15T09:40:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KirbyS](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@KirbyS](https://forums.realmacsoftware.com/u/KirbyS)\
**Post date:** [October 15, 2018, 9:40am UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/1 "2018-10-15T09:40:09Z")

</div>

I use Joe Workman’s agent stack to be able to get the best looking and fastest loading webpages for both desktop and mobile devices. This stack does exactly what I need. The simulator in Rapidweaver 8 only shows the desktop version no matter what device I am trying to simulate. Since about 85% of our website traffic is with mobile devices the simulator currently does me no good. I still have to republish the website and then test on different devices to see the changes.

Is there any plans to fix this issue or is this an issue that just can’t be fixed? Besides the page looping issue this is the only other issue I have had.

---

<div class="post-metadata">

**Author:** ![Rovertek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/rovertek/32/223_2.png) [@Rovertek](https://forums.realmacsoftware.com/u/Rovertek)\
**Post date:** [October 15, 2018, 11:11am UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/2 "2018-10-15T11:11:52Z")

</div>

I do not have an answer for you, I just wanted to reiterate your observations. Page looping happens for me only when I have the simulator opened. The simulator is currently the biggest bummer for me. It slows down a workflow substantially. So much so, that I use it only when I absolutely have to. IMHO, it needs a thorough re-thinking. Waiting for version 8.1 eagerly…

---

<div class="post-metadata">

**Author:** ![pmjd](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pmjd/32/18671_2.png) [@pmjd](https://forums.realmacsoftware.com/u/pmjd)\
**Post date:** [October 15, 2018, 11:25am UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/3 "2018-10-15T11:25:33Z")

</div>

On the technical side, the simulator only simulates the screen size of the device you have selected. Agent works by recognising the device type, rather than the screen size, to serve the content that you have selected for which ever device/platform. So the simulator never sends the correct identifier, so Agent doesn’t work as you were hoping it to.

Instead of ttesting on actual devices you can always use the device simulators in xcode, [http://mediatemple.net/blog/tips/quick-tip-debug-ios-safari-true-local-emulator-actual-iphoneipad/](http://mediatemple.net/blog/tips/quick-tip-debug-ios-safari-true-local-emulator-actual-iphoneipad/)

Admittedly not so easy for non-iOS stuff. There is also Agent’s built in preview settings, so at least you can test out how it would look on other mobile platforms.

---

<div class="post-metadata">

**Author:** ![PaulRussam](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/paulrussam/32/198_2.png) [@PaulRussam](https://forums.realmacsoftware.com/u/PaulRussam)\
**Post date:** [October 15, 2018, 11:42am UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/4 "2018-10-15T11:42:30Z")

</div>

As Paul said, the Agent stack detects the ‘UserAgent’ that the device reports and as Simulator is running on your Mac (a desktop) that is what the UserAgent is reporting and thus the Agent stack acts on.  
You need to either do as Rob suggested or test your published site on a real phone.

---

<div class="post-metadata">

**Author:** ![KirbyS](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@KirbyS](https://forums.realmacsoftware.com/u/KirbyS)\
**Post date:** [October 15, 2018, 5:10pm UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/5 "2018-10-15T17:10:27Z")

</div>

Thanks for the inputs guys. At least now i understand a little better why the simulator does not work for what I need. Real testing on a couple of different phones is what i have been doing and will continue to do at least for now.

---

<div class="post-metadata">

**Author:** ![Phi](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/phi/32/3858_2.png) [@Phi](https://forums.realmacsoftware.com/u/Phi)\
**Post date:** [October 15, 2018, 11:20pm UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/6 "2018-10-15T23:20:56Z")

</div>

> [@Rovertek](#):
>
> The simulator is currently the biggest bummer for me. It slows down a workflow substantially. So much so, that I use it only when I absolutely have to. IMHO, it needs a thorough re-thinking.

Beyond contestation

---

<div class="post-metadata">

**Author:** ![wirrah](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/wirrah/32/22867_2.png) [@wirrah](https://forums.realmacsoftware.com/u/wirrah)\
**Post date:** [October 16, 2018, 6:12am UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/7 "2018-10-16T06:12:03Z")

</div>

I patched together my own stack for doing server side device testing some time back. I found that the simulator works if it is set to the required device _when it is invoked_. So if it is “ipad” and I want “iphone” I set it to the appropriate setting, close it then re-open. Then it appears to recognise the device correctly. Otherwise it just works on dimensions only.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [November 15, 2018, 4:12pm UTC](https://forums.realmacsoftware.com/t/simulator-not-showing-correct-page-info-when-using-joe-workmans-agent-stack/22830/8 "2018-11-15T16:12:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
