@@ -135,6 +135,7 @@ type BrowsersCreateInput struct {
135135 TimeoutSeconds int
136136 Stealth BoolFlag
137137 Headless BoolFlag
138+ Kiosk BoolFlag
138139 ProfileID string
139140 ProfileName string
140141 ProfileSaveChanges BoolFlag
@@ -241,6 +242,9 @@ func (b BrowsersCmd) Create(ctx context.Context, in BrowsersCreateInput) error {
241242 if in .Headless .Set {
242243 params .Headless = kernel .Opt (in .Headless .Value )
243244 }
245+ if in .Kiosk .Set {
246+ params .KioskMode = kernel .Opt (in .Kiosk .Value )
247+ }
244248
245249 // Validate profile selection: at most one of profile-id or profile-name must be provided
246250 if in .ProfileID != "" && in .ProfileName != "" {
@@ -1541,6 +1545,7 @@ func init() {
15411545 browsersCreateCmd .Flags ().StringP ("persistent-id" , "p" , "" , "Unique identifier for browser session persistence" )
15421546 browsersCreateCmd .Flags ().BoolP ("stealth" , "s" , false , "Launch browser in stealth mode to avoid detection" )
15431547 browsersCreateCmd .Flags ().BoolP ("headless" , "H" , false , "Launch browser without GUI access" )
1548+ browsersCreateCmd .Flags ().Bool ("kiosk" , false , "Launch browser in kiosk mode" )
15441549 browsersCreateCmd .Flags ().IntP ("timeout" , "t" , 60 , "Timeout in seconds for the browser session" )
15451550 browsersCreateCmd .Flags ().String ("profile-id" , "" , "Profile ID to load into the browser session (mutually exclusive with --profile-name)" )
15461551 browsersCreateCmd .Flags ().String ("profile-name" , "" , "Profile name to load into the browser session (mutually exclusive with --profile-id)" )
@@ -1571,6 +1576,7 @@ func runBrowsersCreate(cmd *cobra.Command, args []string) error {
15711576 persistenceID , _ := cmd .Flags ().GetString ("persistent-id" )
15721577 stealthVal , _ := cmd .Flags ().GetBool ("stealth" )
15731578 headlessVal , _ := cmd .Flags ().GetBool ("headless" )
1579+ kioskVal , _ := cmd .Flags ().GetBool ("kiosk" )
15741580 timeout , _ := cmd .Flags ().GetInt ("timeout" )
15751581 profileID , _ := cmd .Flags ().GetString ("profile-id" )
15761582 profileName , _ := cmd .Flags ().GetString ("profile-name" )
@@ -1602,6 +1608,7 @@ func runBrowsersCreate(cmd *cobra.Command, args []string) error {
16021608 TimeoutSeconds : timeout ,
16031609 Stealth : BoolFlag {Set : cmd .Flags ().Changed ("stealth" ), Value : stealthVal },
16041610 Headless : BoolFlag {Set : cmd .Flags ().Changed ("headless" ), Value : headlessVal },
1611+ Kiosk : BoolFlag {Set : cmd .Flags ().Changed ("kiosk" ), Value : kioskVal },
16051612 ProfileID : profileID ,
16061613 ProfileName : profileName ,
16071614 ProfileSaveChanges : BoolFlag {Set : cmd .Flags ().Changed ("save-changes" ), Value : saveChanges },
0 commit comments