From 57adb06a44c3b1166492c31a251c63ac0dc887f5 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sun, 9 Jun 2024 00:36:36 +0530 Subject: [PATCH] docs: RB launch options --- server/src/routes/record.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/routes/record.ts b/server/src/routes/record.ts index 272ac26f..3676e4d5 100644 --- a/server/src/routes/record.ts +++ b/server/src/routes/record.ts @@ -38,7 +38,10 @@ router.get('/start', (req, res) => { return res.send(id); }); - +/** + * POST endpoint for starting the remote browser recording session accepting browser launch options. + * returns session's id + */ router.post('/start', (req, res) => { const id = initializeRemoteBrowserForRecording({ browser: chromium,