open-webui / open-webui/computer

feat: Add option to configure the Chrome CDP window size

Open
#233 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
569
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Hello,

On screenless devices (e.g. Docker containers), the Chrome CDP instance always starts at 800 x 600 px, and there is currently no way to change that.

It would be great to have a setting in the settings to specify the window size with which Open Computer opens the Chrome CDP instance.

At 800 x 600, many websites classify the browser as a mobile device and only show a reduced feature set, which makes web apps that are not intended for mobile use hard to work with.

Example: Open Computer running in Docker, using a desktop-oriented web app that needs a larger viewport to expose its full feature set.

Screenshot of the current default attached:

Image

Thanks for considering this!

Best regards,
Joshua Krimmer

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the Chrome CDP launch entry point and the settings definitions, then trace how the current 800 x 600 size is set. Done means a user-configurable window size is applied when Open Computer starts Chrome CDP, including for Docker or other screenless environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.