{"id":1109,"date":"2026-11-11T10:17:24","date_gmt":"2026-11-11T10:17:24","guid":{"rendered":"https:\/\/windows-vps.org\/blog\/?p=1109"},"modified":"2026-11-11T10:17:24","modified_gmt":"2026-11-11T10:17:24","slug":"selenium-ui-tests-on-a-gpu-less-windows-vps","status":"publish","type":"post","link":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/","title":{"rendered":"Selenium UI Tests on a GPU-Less Windows VPS"},"content":{"rendered":"<p><strong>TL;DR \/ Summary:<\/strong> UI tests that need real Edge or Chrome on Windows often fail in Linux CI. A GPU-less Windows VPS can run Selenium sessions headful or headless under a scheduled user, uploading results to your main pipeline. Plan the box with <a href=\"https:\/\/windows-vps.org\/\">Windows VPS guidance<\/a>, then keep browsers pinned and desktops tidy.<\/p>\n<h2>Why Windows still appears in test matrices<\/h2>\n<p>Some bugs only reproduce with Windows font metrics, ActiveX-era enterprise SSO quirks, or Edge-specific downloads. Linux containers cannot fake every pixel. A dedicated Windows VPS gives QA a stable geography without borrowing a human\u2019s laptop that installs random toolbars.<\/p>\n<h2>Sizing for browsers, not for video games<\/h2>\n<p>Selenium Chrome eats RAM per tab. Start with 4 vCPU and 8\u201316 GB depending on parallel workers. You do not need a GPU for functional UI checks; you need consistent CPU and enough disk for browser profiles and screenshots. Shop with that profile on <a href=\"https:\/\/windows-vps.org\/\">windows-vps.org<\/a> instead of chasing gaming SKUs.<\/p>\n<ul>\n<li><strong>Parallelism:<\/strong> two concurrent Chrome instances can outweigh one overloaded five-wide run.<\/li>\n<li><strong>Disk:<\/strong> screenshot artifacts grow; auto-prune after CI publishes them.<\/li>\n<li><strong>Clock:<\/strong> keep time sync healthy so token-based tests do not flake.<\/li>\n<\/ul>\n<h2>Headful versus headless on a server OS<\/h2>\n<p>Headless is convenient, yet some Windows UI bugs vanish without a real interactive session. For those suites, configure an auto-logon test account with a disconnected RDP-friendly session pattern your stack supports, or use tools that create virtual displays. Document the chosen mode; flakiness often traces to \u201csometimes headful.\u201d<\/p>\n<h2>Pin browsers like production dependencies<\/h2>\n<p>Chrome\u2019s silent major upgrades break drivers overnight. Pin browser version and matching driver in your provisioning script. Update on a scheduled Tuesday with a snapshot beforehand\u2014not whenever the VPS feels like patching mid-suite.<\/p>\n<blockquote><p>A UI runner with floating browser versions is a flake generator with a public IP.<\/p><\/blockquote>\n<h2>Wiring results back to Linux CI<\/h2>\n<p>Let GitHub Actions or similar SSH\/WinRM into the VPS, trigger the suite, and pull JUnit plus screenshots. Keep secrets in the CI vault, not in a desktop text file. The Windows box is an executor, not the source of truth for code.<\/p>\n<h3>Isolation from human RDP habits<\/h3>\n<p>Do not browse social sites on the test profile. Extensions, saved passwords, and notification toasts create heisenbugs. Maintain a golden image user that only CI logs into.<\/p>\n<h2>Observability when green goes red<\/h2>\n<p>Save short screen recordings on failure, not only PNGs. Record Windows event hints when browsers crash. Tag each run with image build ID so you can correlate flakes to a provisioning change.<\/p>\n<p><strong>Font and DPI flake hunts.<\/strong><\/p>\n<p>Windows DPI scaling can shift click coordinates for tightly packed UIs. Standardize scaling at 100% on the test account and document it in the image build. When a test fails only on the VPS, capture DPI and font settings before blaming the app. Many \u201cheisenbugs\u201d are typography in disguise.<\/p>\n<p>Include a tiny visual self-check test that asserts a known pixel color on a static fixture page after each image bake.<\/p>\n<p><strong>Secret rotation without breaking suites.<\/strong><\/p>\n<p>UI tests often log into staging. Rotate those passwords on a calendar, update CI secrets first, then the app, then rerun smoke. Order matters. Reversing order causes red mornings that look like product regressions.<\/p>\n<p>Prefer short-lived tokens when the app allows, even on a dedicated VPS.<\/p>\n<p><strong>Cost control for overnight grids.<\/strong><\/p>\n<p>Idle Windows VPS boxes cost real money. Schedule start\/stop around CI windows if your provider supports it, or consolidate suites into fewer evenings. A GPU-less runner should be busy or asleep\u2014not eternally half-awake for convenience.<\/p>\n<p>Seed a known-good browser profile template and copy it fresh for each suite run. Profiles that accumulate cookies become unofficial characters in your tests. Fresh copies keep state intentional.<\/p>\n<p>When corporate SSL inspection is present in staging, document the custom root certificate install inside the image bake\u2014not as a manual click after deploy. Manual trust stores drift between engineers.<\/p>\n<p>Alert on suite duration, not only pass\/fail. A green run that suddenly takes three times longer often foreshadows infrastructure saturation before assertions break.<\/p>\n<p>Retire the VPS image on a cadence. Eternal snowflake Windows boxes collect unique lore nobody can reproduce. Immutable-ish rebuilds keep UI truth honest.<\/p>\n<p>Tag every failed run with the Windows build number and browser build inside the artifact zip so tomorrow\u2019s engineer can correlate flakes without remote-desktop archaeology. Add the image bake ID as a third tag when you rebuild weekly.<\/p>\n<p>Run a canary of five smoke tests after every browser pin change before unlocking the full suite overnight.<\/p>\n<p>Run a canary of five smoke tests after every browser pin change before unlocking the full suite overnight. Canaries are cheaper than waking up to a red wall caused by a silent major upgrade.<\/p>\n<p>Document who owns the VPS budget and who owns the suite greenness as two different names. Split ownership prevents \u201cI thought you patched Chrome\u201d loops during incident reviews.<\/p>\n<p>When tests need Windows Hello or special input hardware, skip those cases on the VPS and mark them as local-lab only instead of forcing flaky stubs that erode trust in the whole green bar.<\/p>\n<p>After your first live try, change only one rule\u2014timing, wording, sizing, or sequence\u2014so you can tell what helped. Jot that single change where you will see it on the next session.<\/p>\n<h2>Green CI bars from a headless desktop<\/h2>\n<p>A GPU-less Windows VPS earns its place by making Windows-only UI truth reproducible. Size for browser RAM, pin versions, isolate profiles, and ship artifacts back to your main CI. When the suite fails, you want a boring forensic trail\u2014not a mystery laptop that went to lunch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TL;DR \/ Summary: UI tests that need real Edge or Chrome on Windows often fail in Linux CI. A GPU-less Windows VPS can run Selenium sessions headful or headless under a scheduled user, uploading results to your main pipeline. Plan the box with Windows VPS guidance, then keep browsers pinned and desktops tidy. Why Windows &#8230; <a title=\"Selenium UI Tests on a GPU-Less Windows VPS\" class=\"read-more\" href=\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/\" aria-label=\"Read more about Selenium UI Tests on a GPU-Less Windows VPS\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1109","post","type-post","status-publish","format-standard","hentry","category-tutorials-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Selenium UI Tests on a GPU-Less Windows VPS - Windows VPS Blog<\/title>\n<meta name=\"description\" content=\"TL;DR \/ Summary: UI tests that need real Edge or Chrome on Windows often fail in Linux CI. A GPU-less Windows VPS can run Selenium sessions headful or\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Selenium UI Tests on a GPU-Less Windows VPS\" \/>\n<meta property=\"og:description\" content=\"Selenium UI Tests on a GPU-Less Windows VPS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"Windows VPS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-11T10:17:24+00:00\" \/>\n<meta name=\"author\" content=\"windows-vps\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@myxiechengxuan\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"windows-vps\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/\",\"url\":\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/\",\"name\":\"Selenium UI Tests on a GPU-Less Windows VPS - Windows VPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\"},\"datePublished\":\"2026-11-11T10:17:24+00:00\",\"author\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\"},\"description\":\"TL;DR \/ Summary: UI tests that need real Edge or Chrome on Windows often fail in Linux CI. A GPU-less Windows VPS can run Selenium sessions headful or\",\"breadcrumb\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/windows-vps.org\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Selenium UI Tests on a GPU-Less Windows VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\",\"url\":\"https:\/\/windows-vps.org\/blog\/\",\"name\":\"Windows VPS Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/windows-vps.org\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\",\"name\":\"windows-vps\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"caption\":\"windows-vps\"},\"sameAs\":[\"https:\/\/windows-vps.org\/blog\",\"https:\/\/x.com\/myxiechengxuan\"],\"url\":\"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Selenium UI Tests on a GPU-Less Windows VPS - Windows VPS Blog","description":"TL;DR \/ Summary: UI tests that need real Edge or Chrome on Windows often fail in Linux CI. A GPU-less Windows VPS can run Selenium sessions headful or","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/","og_locale":"en_US","og_type":"article","og_title":"Selenium UI Tests on a GPU-Less Windows VPS","og_description":"Selenium UI Tests on a GPU-Less Windows VPS","og_url":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/","og_site_name":"Windows VPS Blog","article_published_time":"2026-11-11T10:17:24+00:00","author":"windows-vps","twitter_card":"summary_large_image","twitter_creator":"@myxiechengxuan","twitter_misc":{"Written by":"windows-vps","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/","url":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/","name":"Selenium UI Tests on a GPU-Less Windows VPS - Windows VPS Blog","isPartOf":{"@id":"https:\/\/windows-vps.org\/blog\/#website"},"datePublished":"2026-11-11T10:17:24+00:00","author":{"@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58"},"description":"TL;DR \/ Summary: UI tests that need real Edge or Chrome on Windows often fail in Linux CI. A GPU-less Windows VPS can run Selenium sessions headful or","breadcrumb":{"@id":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/windows-vps.org\/blog\/selenium-ui-tests-on-a-gpu-less-windows-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/windows-vps.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Selenium UI Tests on a GPU-Less Windows VPS"}]},{"@type":"WebSite","@id":"https:\/\/windows-vps.org\/blog\/#website","url":"https:\/\/windows-vps.org\/blog\/","name":"Windows VPS Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/windows-vps.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58","name":"windows-vps","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","caption":"windows-vps"},"sameAs":["https:\/\/windows-vps.org\/blog","https:\/\/x.com\/myxiechengxuan"],"url":"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/"}]}},"_links":{"self":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/1109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/comments?post=1109"}],"version-history":[{"count":1,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/1109\/revisions"}],"predecessor-version":[{"id":1110,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/1109\/revisions\/1110"}],"wp:attachment":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/media?parent=1109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/categories?post=1109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/tags?post=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}