Skip to content

v1.1.5

Choose a tag to compare

@jochen-testingbot jochen-testingbot released this 22 Sep 14:02
· 2 commits to main since this release
9927faa

Fixes

  • setupTestingBot's Playwright snippet now selects the OS you asked for. The generated playwright.config.ts emitted os: 'WIN11' into the wss://cloud.testingbot.com/playwright query string, but the hub only maps platform (or platformName) onto the session platform. os was copied into the desired-capabilities blob as a stray key and otherwise ignored, so the platform went out unset and the session silently ran on the default OS instead of Windows 11 — no error, no warning, just the wrong browser.

    platform is the correct spelling here rather than the W3C platformName: the value is TestingBot's short code (WIN11, WIN10, MONTEREY, …), which is the pairing createCdpSession and takeScreenshot already use. The Selenium and WebdriverIO snippets in the same file were never affected — they use platformName: 'Windows 11', the matching W3C name/value pair. This endpoint takes a plain query string, not a W3C capabilities object, so the strict-capability rejection behind the v1.1.4 desktop-session fix does not apply to it.

    Covered by a regression test asserting the snippet contains platform: 'WIN11' and no os: key.

Full changelog: v1.1.4...v1.1.5