<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: latest</li>
<li>Operating System:  Ubuntu</li>
</ul>
<p dir="auto">Hello guys, I am trying to run Playwright on a docker container with gui using <code class="notranslate">dorowu/ubuntu-desktop-lxde-vnc</code> image.</p>
<p dir="auto">I have created this Dockerfile:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FROM dorowu/ubuntu-desktop-lxde-vnc:latest
WORKDIR /tests

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B

#Install Node.js &amp; npm
RUN apt-get update
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

COPY . .

# Install Playwright dependencies
RUN npm install
# Install browsers
RUN npx playwright install
# Install test
RUN npx @playwright/test install"><pre class="notranslate"><code class="notranslate">FROM dorowu/ubuntu-desktop-lxde-vnc:latest
WORKDIR /tests

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4EB27DB2A3B88B8B

#Install Node.js &amp; npm
RUN apt-get update
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs

COPY . .

# Install Playwright dependencies
RUN npm install
# Install browsers
RUN npx playwright install
# Install test
RUN npx @playwright/test install
</code></pre></div>
<p dir="auto">When I am running this docker container I am giving a volume that is already holding Playwright installation and if I try to run it from the parent machine it's running.</p>
<p dir="auto">But when I am running it from the container itself I am getting this error:</p>
<blockquote>
<p dir="auto">browserType.launch: Executable doesn't exist at /root/.cache/ms-playwright/chromium-1055/chrome-linux/chrome</p>
</blockquote>
<p dir="auto">And it's asking me to re-run <code class="notranslate">npx playwright install</code> and I have already run this command on the Dockerfile.</p>
<p dir="auto">What am I missing here? how can I solve it?</p>
<h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: 8.19.3</li>
<li>Operating System: Ubuntu 22.04.2, macOS 13.4 (EDIT: and also latest Windows (in GitHub Actions))</li>
<li>Browser: n/a</li>
<li>Other info:</li>
</ul>
<h3 dir="auto">Source code</h3>
<p dir="auto">Failed GitHub Actions:</p>
<p dir="auto"><a href="https://github.com/bytescript/bytescript/actions/runs/5310143531/jobs/9611726634">https://github.com/bytescript/bytescript/actions/runs/5310143531/jobs/9611726634</a></p>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/bytescript/bytescript">https://github.com/bytescript/bytescript</a> on this branch: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1728420473" data-permission-text="Title is private" data-url="https://github.com/bytescript/bytescript/issues/27" data-hovercard-type="pull_request" data-hovercard-url="/bytescript/bytescript/pull/27/hovercard" href="https://github.com/bytescript/bytescript/pull/27">bytescript/bytescript#27</a></p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<p dir="auto">I run the <code class="notranslate">playwright install</code> command as part of automation on GitHub Actions, like this:</p>
<p dir="auto"><a href="https://github.com/bytescript/bytescript/pull/27/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R30-R31">https://github.com/bytescript/bytescript/pull/27/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R30-R31</a></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="                  npx playwright install --with-deps chromium firefox webkit msedge
                  npm test"><pre class="notranslate">                  npx playwright install --with-deps chromium firefox webkit msedge
                  npm <span class="pl-c1">test</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<p dir="auto">n/a</p>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>Run in macOS</li>
<li>it will say that msedge is not a valid product.</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">msedge should be a valid produt to test against.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">It says it doesn't exist, even after running <code class="notranslate">playwright install --with-deps</code>.</p>