CDP Emulation.setTouchEmulationEnabled is a no-op; Emulation.setEmulatedMedia not implemented
Description
Two CDP emulation methods used for mobile/responsive testing don't actually do anything under Obscura, but neither one surfaces an error — both calls appear to succeed.
Details (source-verified)
Emulation.setTouchEmulationEnabled: implemented as a literal no-op incrates/obscura-cdp/src/domains/emulation.rs:126. The code comment itself admits: "Touch emulation does not affect layout yet."Emulation.setEmulatedMedia: not implemented at all. The CDP call is swallowed by a catch-all no-op handler, so it silently "succeeds" from the client's point of view but has no effect.
Impact
There is currently no way to make pointer: coarse / hover: none (or any prefers-*/media-feature override sent via setEmulatedMedia) evaluate true through the CDP interface. Any Puppeteer/Playwright script that emulates a touch device or overrides media features for responsive/mobile testing will silently get desktop-pointer behavior instead, with no error to indicate the emulation didn't apply — which is worse than an explicit failure, since it looks like a passing test.
Suggested fix
At minimum, either implement these against Obscura's layout/media-query engine, or have them return an explicit CDP error / unsupported-method response instead of silently no-op'ing, so callers can detect that emulation isn't actually in effect.
Source: h4ckf0r0day/obscura