Skip to content

[BUG] Unable to use playwright as of version 0.52.1, also present in version 0.52.6 #31

@jluo98

Description

@jluo98

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

A check cannot be completed using Playwright, error message:
Screenshot unavailable, page did not render fully in the expected time or page was too long - try increasing 'Wait seconds before extracting text'.

Changing the fetch method to the built-in HTTP fetcher results in no error (unless website requires JS)

This issue is not present in the official docker image provided by dgtlmoon

Expected Behavior

A check using playwright completes without error.

Steps To Reproduce

  1. Set up a fresh instance of changedetection.io from lscr and browserless-chromium as the playwright server
  2. Add a check of any website and configure it to use playwright
  3. Run the check and the check would fail
  4. Run the above steps with changedetection.io from dgtlmoon instead, no error occurs

Environment

- OS: Unraid 7.2.3
- How docker service was installed: Built-in Docker Service

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='changedetection.io'
  --net='bridge'
  --pids-limit 2048
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Stealth"
  -e HOST_CONTAINERNAME="changedetection.io"
  -e 'BASE_URL'=''
  -e 'PLAYWRIGHT_DRIVER_URL'='ws://browserless:3000/?token=XXX&stealth=1&launch={"headless":false}'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:5000]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png'
  -p '5000:5000/tcp'
  -v '/mnt/bridge/appdata/changedetection-tmp':'/config':'rw' 'lscr.io/linuxserver/changedetection.io' && docker network connect internal changedetection.io
2c01785472d1e44c8d22b4efbdc77bd444e2962f30422b31e9b55f14cc7eba1c

Container logs

2026-01-17 13:52:00.860 | DEBUG    | changedetectionio.realtime.events:handle_watch_operation:16 - Socket.IO: Received watch operation 'recheck' for UUID a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.860 | DEBUG    | changedetectionio.realtime.socket_server:handle_queue_length:109 - SignalHandler: Queue length update received: 0
2026-01-17 13:52:00.860 | DEBUG    | changedetectionio.queue_handlers:async_get:155 - Successfully async retrieved item: a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.861 | DEBUG    | changedetectionio.worker_handler:set_uuid_processing:179 - Worker 0 started processing UUID: a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.861 | INFO     | changedetectionio.async_update_worker:async_update_worker:98 - Worker 0 processing watch UUID a9ba4c80-7386-4c15-9976-bbec926a9914 Priority 1 URL https://pg.asrock.com/mb/AMD/B550%20Phantom%20Gaming-ITXax/BIOS.html
2026-01-17 13:52:00.861 | DEBUG    | changedetectionio.realtime.socket_server:handle_queue_length:109 - SignalHandler: Queue length update received: 0
2026-01-17 13:52:00.861 | DEBUG    | changedetectionio.queue_handlers:put:72 - Successfully queued item: a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.861 | DEBUG    | changedetectionio.worker_handler:queue_item_async_safe:227 - Successfully queued item: a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.861 | INFO     | changedetectionio.realtime.events:handle_watch_operation:43 - Socket.IO: Queued recheck for watch a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.862 | DEBUG    | changedetectionio.realtime.socket_server:handle_watch_small_status_update:52 - Socket.IO: Received watch small status update 'Fetching page..' for UUID a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:00.862 | DEBUG    | changedetectionio.processors.base:call_browser:96 - Using proxy 'None' for a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:01.788 | DEBUG    | changedetectionio.blueprint.browser_steps.browser_steps:action_goto_url:130 - Time to goto URL 0.21s
2026-01-17 13:52:31.822 | DEBUG    | changedetectionio.content_fetchers.playwright:<lambda>:250 - Playwright console: Watch URL: https://pg.asrock.com/mb/AMD/B550%20Phantom%20Gaming-ITXax/BIOS.html log: Scanning for "div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button" [<JSHandle preview=Scanning for "div,span,form,table,tbody,tr,td,a,p,ul,li,h1,h2,h3,h4,header,footer,section,article,aside,details,main,nav,section,summary,button">]
2026-01-17 13:52:31.828 | DEBUG    | changedetectionio.content_fetchers.playwright:<lambda>:250 - Playwright console: Watch URL: https://pg.asrock.com/mb/AMD/B550%20Phantom%20Gaming-ITXax/BIOS.html log: [xpath] Scanning for included filter /html/body/table/tbody/tr[1]/td[1] [<JSHandle preview=[xpath] Scanning for included filter /html/body/table/tbody/tr[1]/td[1]>]
2026-01-17 13:52:31.828 | DEBUG    | changedetectionio.content_fetchers.playwright:<lambda>:250 - Playwright console: Watch URL: https://pg.asrock.com/mb/AMD/B550%20Phantom%20Gaming-ITXax/BIOS.html log: xpath_element_scraper: Got filter element, scroll from top was 0 [<JSHandle preview=xpath_element_scraper: Got filter element, scroll from top was 0>]
2026-01-17 13:52:31.849 | DEBUG    | changedetectionio.content_fetchers.playwright:<lambda>:250 - Playwright console: Watch URL: https://pg.asrock.com/mb/AMD/B550%20Phantom%20Gaming-ITXax/BIOS.html log: Returning 'Possibly in stock' - cant' find any useful matching text [<JSHandle preview=Returning 'Possibly in stock' - cant' find any useful matching text>]
2026-01-17 13:52:31.864 | DEBUG    | changedetectionio.content_fetchers.playwright:run:344 - Scrape xPath element data in browser done in 0.06s
2026-01-17 13:52:31.869 | DEBUG    | changedetectionio.content_fetchers.playwright:capture_full_page_async:23 - Playwright viewport size {'width': 1280, 'height': 720} page height 1564 page width 1265
2026-01-17 13:52:31.927 | DEBUG    | changedetectionio.async_update_worker:async_update_worker:331 - Processing watch UUID: a9ba4c80-7386-4c15-9976-bbec926a9914 - xpath_data length returned empty.
2026-01-17 13:52:31.927 | DEBUG    | changedetectionio.async_update_worker:async_update_worker:406 - Cleared fetcher content for UUID a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:31.927 | DEBUG    | changedetectionio.worker_handler:set_uuid_processing:182 - Worker 0 finished processing UUID: a9ba4c80-7386-4c15-9976-bbec926a9914
2026-01-17 13:52:31.954 | DEBUG    | changedetectionio.async_update_worker:async_update_worker:460 - Worker 0 completed watch a9ba4c80-7386-4c15-9976-bbec926a9914 in 30.95s
2026-01-17 13:52:48.457 | INFO     | changedetectionio.store:sync_to_json:447 - Saving JSON..

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions