[object Object]

← back to Animals

auto-save: 2026-07-29T08:37:25 (1 files) — desk-homes-check.mjs

1b8aa980b4bf51aa465862322fefc95f6613268e · 2026-07-29 08:37:32 -0700 · Steve Abrams

Files touched

Diff

commit 1b8aa980b4bf51aa465862322fefc95f6613268e
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Jul 29 08:37:32 2026 -0700

    auto-save: 2026-07-29T08:37:25 (1 files) — desk-homes-check.mjs
---
 desk-homes-check.mjs | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/desk-homes-check.mjs b/desk-homes-check.mjs
new file mode 100644
index 0000000..c80a8db
--- /dev/null
+++ b/desk-homes-check.mjs
@@ -0,0 +1,14 @@
+import { chromium } from 'playwright';
+const b = await chromium.launch();
+const ctx = await b.newContext({ httpCredentials: { username: 'admin', password: 'DW2024!' } });
+const p = await ctx.newPage(); const errs=[]; p.on('pageerror',e=>errs.push(e.message));
+await p.goto('https://rentv.agentabrams.com/desk',{waitUntil:'networkidle',timeout:30000});
+await p.click('button[data-s="homes"]'); await p.waitForTimeout(1500);
+const badge=await p.textContent('#cH').catch(()=>'?');
+const rowCount=await p.locator('#drows .row').count();
+let detail='';
+if(rowCount>0){await p.locator('#drows .row').first().click();await p.waitForTimeout(400);detail=((await p.textContent('#ddetail').catch(()=>'')||'').replace(/\s+/g,' ').slice(0,140));}
+console.log('New Homes badge:',badge,'| rows rendered:',rowCount);
+console.log('detail sample:',detail||'(none)');
+console.log('page errors:',errs.length?errs.join(' | '):'none');
+await b.close();

← b70969f security: untrack leaked .env backup, tighten .gitignore (.e  ·  back to Animals  ·  auto-save: 2026-08-04T18:05:34 (1 files) — tesla-auth-check. bfe5aa3 →