web: keep empty composer on one line and verify touch sizing
This commit is contained in:
@@ -186,6 +186,10 @@ export async function launchChrome({ width = 1440, height = 900, chromePath } =
|
||||
|
||||
const api = {
|
||||
targetId,
|
||||
/** Emulate pointer capability only; this is not an OS keyboard test. */
|
||||
async emulateTouch(enabled = true) {
|
||||
await session("Emulation.setTouchEmulationEnabled", { enabled, maxTouchPoints: 1 });
|
||||
},
|
||||
/** Resize the emulated viewport at the driver's fixed device scale. */
|
||||
async resize(width, height) {
|
||||
await session("Emulation.setDeviceMetricsOverride", {
|
||||
|
||||
Reference in New Issue
Block a user