# Desktop App: E\_TIMEOUT on every check for Facebook group monitor with JS selector

**URL:** <https://forums.distill.io/t/desktop-app-e-timeout-on-every-check-for-facebook-group-monitor-with-js-selector/6149>\
**Category:** Help and Support\
**Tags:** bug\
**Created:** [October 5, 2026, 1:21pm UTC](https://forums.distill.io/t/desktop-app-e-timeout-on-every-check-for-facebook-group-monitor-with-js-selector/6149 "2026-10-05T13:21:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdorrestein](https://forums.distill.io/letter_avatar_proxy/v4/letter/m/3be4f8/32.png) [@mdorrestein](https://forums.distill.io/u/mdorrestein)\
**Post date:** [October 5, 2026, 1:21pm UTC](https://forums.distill.io/t/desktop-app-e-timeout-on-every-check-for-facebook-group-monitor-with-js-selector/6149/1 "2026-10-05T13:21:45Z")

</div>

Hi! I have a webpage monitor for a Facebook group (I’m logged in to Facebook in the Desktop App) on Mac. It uses a JavaScript selector that clicks “See more” buttons and returns the post text elements.

The selector works in the preview (it finds 5 elements), but every scheduled check fails with E\_TIMEOUT. I’ve tried wait times of 5, 8 and 12 seconds, and a version of the code without setTimeout. Same result.

Is there a setting to run checks in a visible tab/window, or another way to avoid timeouts on Facebook pages? Thanks!

---

<div class="post-metadata">

**Author:** ![srijith](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/c77e96/32.png) [@srijith](https://forums.distill.io/u/srijith)\
**Post date:** [October 5, 2026, 10:17pm UTC](https://forums.distill.io/t/desktop-app-e-timeout-on-every-check-for-facebook-group-monitor-with-js-selector/6149/2 "2026-10-05T22:17:14Z")

</div>

@mdorrestein Could you try creating a new monitor for the same Facebook group, but this time use only a **CSS selector** to select the elements you want to monitor and do not use the JavaScript selector?

Then let the monitor run for a few scheduled checks and see whether it completes normally without the **E\_TIMEOUT** error.

If the CSS-only monitor works correctly, then the issue is likely related to the JavaScript selector and it may need to be adjusted.

Also, please open the monitor’s **Check Log** and click on one of the **E\_TIMEOUT** entries. This should open a detailed error page. Please review the error details there and, if possible, share a screenshot and copy the full error message so we can see exactly why the timeout is occurring.

---

<div class="post-metadata">

**Author:** ![mdorrestein](https://forums.distill.io/letter_avatar_proxy/v4/letter/m/3be4f8/32.png) [@mdorrestein](https://forums.distill.io/u/mdorrestein)\
**Post date:** [October 6, 2026, 11:07am UTC](https://forums.distill.io/t/desktop-app-e-timeout-on-every-check-for-facebook-group-monitor-with-js-selector/6149/4 "2026-10-06T11:07:43Z")

</div>

Thanks! The CSS-only monitor works fine, no timeouts. So the issue is with the JavaScript selector.

Error details from the JS monitor: _E\_TIMEOUT – Page load timedout after 30 seconds. No snapshot found._

My goal is to click all “See more” (“Visa mer”) buttons on the posts before extracting the text, so that the full post text is captured. This is the JS I used:

```auto
(function(){var e=document.querySelectorAll('div,span');for(var i=0;i<e.length;i++){var t=(e[i].innerText||'').replace(/\s/g,'');if((t==='Visamer'||t==='Seemore')&&e[i].children.length===0){(e[i].closest('[role=button]')||e[i]).click();}}return document.querySelectorAll('[data-ad-rendering-role=story_message],[data-ad-preview=message],[data-ad-comet-preview=message]');})();

```

Is there a recommended way to do this in Distill, for example with a macro that clicks the “See more” buttons before the CSS selector extracts the text? Thanks!

---

<div class="post-metadata">

**Author:** ![srijith](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/c77e96/32.png) [@srijith](https://forums.distill.io/u/srijith)\
**Post date:** [October 6, 2026, 5:14pm UTC](https://forums.distill.io/t/desktop-app-e-timeout-on-every-check-for-facebook-group-monitor-with-js-selector/6149/5 "2026-10-06T17:14:53Z")

</div>

@mdorrestein Since the CSS-only monitor is working correctly, the timeout is indeed coming from the JavaScript selector. We should be able to adjust the JavaScript selector and make it work, but custom JavaScript selector troubleshooting falls under our paid setup service.

The easier option here is to use a Macro to click the “See more” button first, and then let the regular CSS selector extract the expanded post text.

I’ve created a Macro configuration file for you:

[Facebook See More macro-8fe3e8a2-c1a1-11f1-b1b3-3f9b6ee8d80a.json](https://forums.distill.io/uploads/short-url/oYIKmNCfwJQZgGY1gSGECYLiZx5.json) (470 Bytes)

Please import this Macro, attach it to your existing monitor, and then test a few scheduled checks to see whether the post is expanded correctly.
