browse 0.8.2-alpha-e7d3b55 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +212 -212
  2. package/package.json +1 -1
@@ -2666,13 +2666,25 @@
2666
2666
  "publish.js"
2667
2667
  ]
2668
2668
  },
2669
- "network:clear": {
2669
+ "mouse:click": {
2670
2670
  "aliases": [],
2671
- "args": {},
2672
- "description": "Clear captured network request directories for the active browser session.",
2671
+ "args": {
2672
+ "x": {
2673
+ "description": "Viewport x coordinate.",
2674
+ "name": "x",
2675
+ "required": true
2676
+ },
2677
+ "y": {
2678
+ "description": "Viewport y coordinate.",
2679
+ "name": "y",
2680
+ "required": true
2681
+ }
2682
+ },
2683
+ "description": "Click raw viewport coordinates in the active page.",
2673
2684
  "examples": [
2674
- "browse network clear",
2675
- "browse network clear --session research"
2685
+ "browse mouse click 240 320",
2686
+ "browse mouse click 240 320 --button right",
2687
+ "browse mouse click 240 320 --click-count 2 --return-xpath"
2676
2688
  ],
2677
2689
  "flags": {
2678
2690
  "auto-connect": {
@@ -2729,11 +2741,40 @@
2729
2741
  "helpValue": "<target-id>",
2730
2742
  "multiple": false,
2731
2743
  "type": "option"
2744
+ },
2745
+ "button": {
2746
+ "description": "Mouse button to use.",
2747
+ "name": "button",
2748
+ "default": "left",
2749
+ "hasDynamicHelp": false,
2750
+ "helpValue": "<button>",
2751
+ "multiple": false,
2752
+ "options": [
2753
+ "left",
2754
+ "middle",
2755
+ "right"
2756
+ ],
2757
+ "type": "option"
2758
+ },
2759
+ "click-count": {
2760
+ "description": "Number of clicks to send.",
2761
+ "name": "click-count",
2762
+ "default": 1,
2763
+ "hasDynamicHelp": false,
2764
+ "helpValue": "<count>",
2765
+ "multiple": false,
2766
+ "type": "option"
2767
+ },
2768
+ "return-xpath": {
2769
+ "description": "Include the XPath under the coordinate when the driver can return it.",
2770
+ "name": "return-xpath",
2771
+ "allowNo": false,
2772
+ "type": "boolean"
2732
2773
  }
2733
2774
  },
2734
2775
  "hasDynamicHelp": false,
2735
2776
  "hiddenAliases": [],
2736
- "id": "network:clear",
2777
+ "id": "mouse:click",
2737
2778
  "pluginAlias": "browse",
2738
2779
  "pluginName": "browse",
2739
2780
  "pluginType": "core",
@@ -2742,17 +2783,39 @@
2742
2783
  "relativePath": [
2743
2784
  "dist",
2744
2785
  "commands",
2745
- "network",
2746
- "clear.js"
2786
+ "mouse",
2787
+ "click.js"
2747
2788
  ]
2748
2789
  },
2749
- "network:off": {
2790
+ "mouse:drag": {
2750
2791
  "aliases": [],
2751
- "args": {},
2752
- "description": "Disable network capture for the active browser session.",
2792
+ "args": {
2793
+ "fromX": {
2794
+ "description": "Starting viewport x coordinate.",
2795
+ "name": "fromX",
2796
+ "required": true
2797
+ },
2798
+ "fromY": {
2799
+ "description": "Starting viewport y coordinate.",
2800
+ "name": "fromY",
2801
+ "required": true
2802
+ },
2803
+ "toX": {
2804
+ "description": "Ending viewport x coordinate.",
2805
+ "name": "toX",
2806
+ "required": true
2807
+ },
2808
+ "toY": {
2809
+ "description": "Ending viewport y coordinate.",
2810
+ "name": "toY",
2811
+ "required": true
2812
+ }
2813
+ },
2814
+ "description": "Drag from one raw viewport coordinate to another.",
2753
2815
  "examples": [
2754
- "browse network off",
2755
- "browse network off --session research"
2816
+ "browse mouse drag 100 100 400 400",
2817
+ "browse mouse drag 100 100 400 400 --steps 20 --delay 10",
2818
+ "browse mouse drag 100 100 400 400 --return-xpath"
2756
2819
  ],
2757
2820
  "flags": {
2758
2821
  "auto-connect": {
@@ -2809,11 +2872,49 @@
2809
2872
  "helpValue": "<target-id>",
2810
2873
  "multiple": false,
2811
2874
  "type": "option"
2875
+ },
2876
+ "button": {
2877
+ "description": "Mouse button to use.",
2878
+ "name": "button",
2879
+ "default": "left",
2880
+ "hasDynamicHelp": false,
2881
+ "helpValue": "<button>",
2882
+ "multiple": false,
2883
+ "options": [
2884
+ "left",
2885
+ "middle",
2886
+ "right"
2887
+ ],
2888
+ "type": "option"
2889
+ },
2890
+ "delay": {
2891
+ "description": "Delay between drag steps in milliseconds.",
2892
+ "name": "delay",
2893
+ "default": 0,
2894
+ "hasDynamicHelp": false,
2895
+ "helpValue": "<ms>",
2896
+ "multiple": false,
2897
+ "type": "option"
2898
+ },
2899
+ "return-xpath": {
2900
+ "description": "Include the XPath under the start/end coordinates when the driver can return it.",
2901
+ "name": "return-xpath",
2902
+ "allowNo": false,
2903
+ "type": "boolean"
2904
+ },
2905
+ "steps": {
2906
+ "description": "Number of intermediate drag steps.",
2907
+ "name": "steps",
2908
+ "default": 10,
2909
+ "hasDynamicHelp": false,
2910
+ "helpValue": "<steps>",
2911
+ "multiple": false,
2912
+ "type": "option"
2812
2913
  }
2813
2914
  },
2814
2915
  "hasDynamicHelp": false,
2815
2916
  "hiddenAliases": [],
2816
- "id": "network:off",
2917
+ "id": "mouse:drag",
2817
2918
  "pluginAlias": "browse",
2818
2919
  "pluginName": "browse",
2819
2920
  "pluginType": "core",
@@ -2822,17 +2923,29 @@
2822
2923
  "relativePath": [
2823
2924
  "dist",
2824
2925
  "commands",
2825
- "network",
2826
- "off.js"
2926
+ "mouse",
2927
+ "drag.js"
2827
2928
  ]
2828
2929
  },
2829
- "network:on": {
2930
+ "mouse:hover": {
2830
2931
  "aliases": [],
2831
- "args": {},
2832
- "description": "Enable network capture for the active browser session.",
2932
+ "args": {
2933
+ "x": {
2934
+ "description": "Viewport x coordinate.",
2935
+ "name": "x",
2936
+ "required": true
2937
+ },
2938
+ "y": {
2939
+ "description": "Viewport y coordinate.",
2940
+ "name": "y",
2941
+ "required": true
2942
+ }
2943
+ },
2944
+ "description": "Move the mouse to raw viewport coordinates in the active page.",
2833
2945
  "examples": [
2834
- "browse network on",
2835
- "browse network on --session research"
2946
+ "browse mouse hover 240 320",
2947
+ "browse mouse hover 240 320 --return-xpath",
2948
+ "browse mouse hover 240 320 --session research"
2836
2949
  ],
2837
2950
  "flags": {
2838
2951
  "auto-connect": {
@@ -2889,11 +3002,17 @@
2889
3002
  "helpValue": "<target-id>",
2890
3003
  "multiple": false,
2891
3004
  "type": "option"
3005
+ },
3006
+ "return-xpath": {
3007
+ "description": "Include the XPath under the coordinate when the driver can return it.",
3008
+ "name": "return-xpath",
3009
+ "allowNo": false,
3010
+ "type": "boolean"
2892
3011
  }
2893
3012
  },
2894
3013
  "hasDynamicHelp": false,
2895
3014
  "hiddenAliases": [],
2896
- "id": "network:on",
3015
+ "id": "mouse:hover",
2897
3016
  "pluginAlias": "browse",
2898
3017
  "pluginName": "browse",
2899
3018
  "pluginType": "core",
@@ -2902,17 +3021,39 @@
2902
3021
  "relativePath": [
2903
3022
  "dist",
2904
3023
  "commands",
2905
- "network",
2906
- "on.js"
3024
+ "mouse",
3025
+ "hover.js"
2907
3026
  ]
2908
3027
  },
2909
- "network:path": {
3028
+ "mouse:scroll": {
2910
3029
  "aliases": [],
2911
- "args": {},
2912
- "description": "Print the network capture directory for the active browser session.",
3030
+ "args": {
3031
+ "x": {
3032
+ "description": "Viewport x coordinate.",
3033
+ "name": "x",
3034
+ "required": true
3035
+ },
3036
+ "y": {
3037
+ "description": "Viewport y coordinate.",
3038
+ "name": "y",
3039
+ "required": true
3040
+ },
3041
+ "deltaX": {
3042
+ "description": "Horizontal scroll delta.",
3043
+ "name": "deltaX",
3044
+ "required": true
3045
+ },
3046
+ "deltaY": {
3047
+ "description": "Vertical scroll delta.",
3048
+ "name": "deltaY",
3049
+ "required": true
3050
+ }
3051
+ },
3052
+ "description": "Scroll from raw viewport coordinates in the active page.",
2913
3053
  "examples": [
2914
- "browse network path",
2915
- "browse network path --session research"
3054
+ "browse mouse scroll 400 500 0 600",
3055
+ "browse mouse scroll 400 500 0 -600",
3056
+ "browse mouse scroll 400 500 0 600 --return-xpath"
2916
3057
  ],
2917
3058
  "flags": {
2918
3059
  "auto-connect": {
@@ -2969,11 +3110,17 @@
2969
3110
  "helpValue": "<target-id>",
2970
3111
  "multiple": false,
2971
3112
  "type": "option"
3113
+ },
3114
+ "return-xpath": {
3115
+ "description": "Include the XPath under the coordinate when the driver can return it.",
3116
+ "name": "return-xpath",
3117
+ "allowNo": false,
3118
+ "type": "boolean"
2972
3119
  }
2973
3120
  },
2974
3121
  "hasDynamicHelp": false,
2975
3122
  "hiddenAliases": [],
2976
- "id": "network:path",
3123
+ "id": "mouse:scroll",
2977
3124
  "pluginAlias": "browse",
2978
3125
  "pluginName": "browse",
2979
3126
  "pluginType": "core",
@@ -2982,29 +3129,17 @@
2982
3129
  "relativePath": [
2983
3130
  "dist",
2984
3131
  "commands",
2985
- "network",
2986
- "path.js"
3132
+ "mouse",
3133
+ "scroll.js"
2987
3134
  ]
2988
3135
  },
2989
- "mouse:click": {
3136
+ "network:clear": {
2990
3137
  "aliases": [],
2991
- "args": {
2992
- "x": {
2993
- "description": "Viewport x coordinate.",
2994
- "name": "x",
2995
- "required": true
2996
- },
2997
- "y": {
2998
- "description": "Viewport y coordinate.",
2999
- "name": "y",
3000
- "required": true
3001
- }
3002
- },
3003
- "description": "Click raw viewport coordinates in the active page.",
3138
+ "args": {},
3139
+ "description": "Clear captured network request directories for the active browser session.",
3004
3140
  "examples": [
3005
- "browse mouse click 240 320",
3006
- "browse mouse click 240 320 --button right",
3007
- "browse mouse click 240 320 --click-count 2 --return-xpath"
3141
+ "browse network clear",
3142
+ "browse network clear --session research"
3008
3143
  ],
3009
3144
  "flags": {
3010
3145
  "auto-connect": {
@@ -3061,40 +3196,11 @@
3061
3196
  "helpValue": "<target-id>",
3062
3197
  "multiple": false,
3063
3198
  "type": "option"
3064
- },
3065
- "button": {
3066
- "description": "Mouse button to use.",
3067
- "name": "button",
3068
- "default": "left",
3069
- "hasDynamicHelp": false,
3070
- "helpValue": "<button>",
3071
- "multiple": false,
3072
- "options": [
3073
- "left",
3074
- "middle",
3075
- "right"
3076
- ],
3077
- "type": "option"
3078
- },
3079
- "click-count": {
3080
- "description": "Number of clicks to send.",
3081
- "name": "click-count",
3082
- "default": 1,
3083
- "hasDynamicHelp": false,
3084
- "helpValue": "<count>",
3085
- "multiple": false,
3086
- "type": "option"
3087
- },
3088
- "return-xpath": {
3089
- "description": "Include the XPath under the coordinate when the driver can return it.",
3090
- "name": "return-xpath",
3091
- "allowNo": false,
3092
- "type": "boolean"
3093
3199
  }
3094
3200
  },
3095
3201
  "hasDynamicHelp": false,
3096
3202
  "hiddenAliases": [],
3097
- "id": "mouse:click",
3203
+ "id": "network:clear",
3098
3204
  "pluginAlias": "browse",
3099
3205
  "pluginName": "browse",
3100
3206
  "pluginType": "core",
@@ -3103,39 +3209,17 @@
3103
3209
  "relativePath": [
3104
3210
  "dist",
3105
3211
  "commands",
3106
- "mouse",
3107
- "click.js"
3212
+ "network",
3213
+ "clear.js"
3108
3214
  ]
3109
3215
  },
3110
- "mouse:drag": {
3216
+ "network:off": {
3111
3217
  "aliases": [],
3112
- "args": {
3113
- "fromX": {
3114
- "description": "Starting viewport x coordinate.",
3115
- "name": "fromX",
3116
- "required": true
3117
- },
3118
- "fromY": {
3119
- "description": "Starting viewport y coordinate.",
3120
- "name": "fromY",
3121
- "required": true
3122
- },
3123
- "toX": {
3124
- "description": "Ending viewport x coordinate.",
3125
- "name": "toX",
3126
- "required": true
3127
- },
3128
- "toY": {
3129
- "description": "Ending viewport y coordinate.",
3130
- "name": "toY",
3131
- "required": true
3132
- }
3133
- },
3134
- "description": "Drag from one raw viewport coordinate to another.",
3218
+ "args": {},
3219
+ "description": "Disable network capture for the active browser session.",
3135
3220
  "examples": [
3136
- "browse mouse drag 100 100 400 400",
3137
- "browse mouse drag 100 100 400 400 --steps 20 --delay 10",
3138
- "browse mouse drag 100 100 400 400 --return-xpath"
3221
+ "browse network off",
3222
+ "browse network off --session research"
3139
3223
  ],
3140
3224
  "flags": {
3141
3225
  "auto-connect": {
@@ -3192,49 +3276,11 @@
3192
3276
  "helpValue": "<target-id>",
3193
3277
  "multiple": false,
3194
3278
  "type": "option"
3195
- },
3196
- "button": {
3197
- "description": "Mouse button to use.",
3198
- "name": "button",
3199
- "default": "left",
3200
- "hasDynamicHelp": false,
3201
- "helpValue": "<button>",
3202
- "multiple": false,
3203
- "options": [
3204
- "left",
3205
- "middle",
3206
- "right"
3207
- ],
3208
- "type": "option"
3209
- },
3210
- "delay": {
3211
- "description": "Delay between drag steps in milliseconds.",
3212
- "name": "delay",
3213
- "default": 0,
3214
- "hasDynamicHelp": false,
3215
- "helpValue": "<ms>",
3216
- "multiple": false,
3217
- "type": "option"
3218
- },
3219
- "return-xpath": {
3220
- "description": "Include the XPath under the start/end coordinates when the driver can return it.",
3221
- "name": "return-xpath",
3222
- "allowNo": false,
3223
- "type": "boolean"
3224
- },
3225
- "steps": {
3226
- "description": "Number of intermediate drag steps.",
3227
- "name": "steps",
3228
- "default": 10,
3229
- "hasDynamicHelp": false,
3230
- "helpValue": "<steps>",
3231
- "multiple": false,
3232
- "type": "option"
3233
3279
  }
3234
3280
  },
3235
3281
  "hasDynamicHelp": false,
3236
3282
  "hiddenAliases": [],
3237
- "id": "mouse:drag",
3283
+ "id": "network:off",
3238
3284
  "pluginAlias": "browse",
3239
3285
  "pluginName": "browse",
3240
3286
  "pluginType": "core",
@@ -3243,29 +3289,17 @@
3243
3289
  "relativePath": [
3244
3290
  "dist",
3245
3291
  "commands",
3246
- "mouse",
3247
- "drag.js"
3292
+ "network",
3293
+ "off.js"
3248
3294
  ]
3249
3295
  },
3250
- "mouse:hover": {
3296
+ "network:on": {
3251
3297
  "aliases": [],
3252
- "args": {
3253
- "x": {
3254
- "description": "Viewport x coordinate.",
3255
- "name": "x",
3256
- "required": true
3257
- },
3258
- "y": {
3259
- "description": "Viewport y coordinate.",
3260
- "name": "y",
3261
- "required": true
3262
- }
3263
- },
3264
- "description": "Move the mouse to raw viewport coordinates in the active page.",
3298
+ "args": {},
3299
+ "description": "Enable network capture for the active browser session.",
3265
3300
  "examples": [
3266
- "browse mouse hover 240 320",
3267
- "browse mouse hover 240 320 --return-xpath",
3268
- "browse mouse hover 240 320 --session research"
3301
+ "browse network on",
3302
+ "browse network on --session research"
3269
3303
  ],
3270
3304
  "flags": {
3271
3305
  "auto-connect": {
@@ -3322,17 +3356,11 @@
3322
3356
  "helpValue": "<target-id>",
3323
3357
  "multiple": false,
3324
3358
  "type": "option"
3325
- },
3326
- "return-xpath": {
3327
- "description": "Include the XPath under the coordinate when the driver can return it.",
3328
- "name": "return-xpath",
3329
- "allowNo": false,
3330
- "type": "boolean"
3331
3359
  }
3332
3360
  },
3333
3361
  "hasDynamicHelp": false,
3334
3362
  "hiddenAliases": [],
3335
- "id": "mouse:hover",
3363
+ "id": "network:on",
3336
3364
  "pluginAlias": "browse",
3337
3365
  "pluginName": "browse",
3338
3366
  "pluginType": "core",
@@ -3341,39 +3369,17 @@
3341
3369
  "relativePath": [
3342
3370
  "dist",
3343
3371
  "commands",
3344
- "mouse",
3345
- "hover.js"
3372
+ "network",
3373
+ "on.js"
3346
3374
  ]
3347
3375
  },
3348
- "mouse:scroll": {
3376
+ "network:path": {
3349
3377
  "aliases": [],
3350
- "args": {
3351
- "x": {
3352
- "description": "Viewport x coordinate.",
3353
- "name": "x",
3354
- "required": true
3355
- },
3356
- "y": {
3357
- "description": "Viewport y coordinate.",
3358
- "name": "y",
3359
- "required": true
3360
- },
3361
- "deltaX": {
3362
- "description": "Horizontal scroll delta.",
3363
- "name": "deltaX",
3364
- "required": true
3365
- },
3366
- "deltaY": {
3367
- "description": "Vertical scroll delta.",
3368
- "name": "deltaY",
3369
- "required": true
3370
- }
3371
- },
3372
- "description": "Scroll from raw viewport coordinates in the active page.",
3378
+ "args": {},
3379
+ "description": "Print the network capture directory for the active browser session.",
3373
3380
  "examples": [
3374
- "browse mouse scroll 400 500 0 600",
3375
- "browse mouse scroll 400 500 0 -600",
3376
- "browse mouse scroll 400 500 0 600 --return-xpath"
3381
+ "browse network path",
3382
+ "browse network path --session research"
3377
3383
  ],
3378
3384
  "flags": {
3379
3385
  "auto-connect": {
@@ -3430,17 +3436,11 @@
3430
3436
  "helpValue": "<target-id>",
3431
3437
  "multiple": false,
3432
3438
  "type": "option"
3433
- },
3434
- "return-xpath": {
3435
- "description": "Include the XPath under the coordinate when the driver can return it.",
3436
- "name": "return-xpath",
3437
- "allowNo": false,
3438
- "type": "boolean"
3439
3439
  }
3440
3440
  },
3441
3441
  "hasDynamicHelp": false,
3442
3442
  "hiddenAliases": [],
3443
- "id": "mouse:scroll",
3443
+ "id": "network:path",
3444
3444
  "pluginAlias": "browse",
3445
3445
  "pluginName": "browse",
3446
3446
  "pluginType": "core",
@@ -3449,8 +3449,8 @@
3449
3449
  "relativePath": [
3450
3450
  "dist",
3451
3451
  "commands",
3452
- "mouse",
3453
- "scroll.js"
3452
+ "network",
3453
+ "path.js"
3454
3454
  ]
3455
3455
  },
3456
3456
  "skills:add": {
@@ -5266,5 +5266,5 @@
5266
5266
  ]
5267
5267
  }
5268
5268
  },
5269
- "version": "0.8.2"
5269
+ "version": "0.8.3"
5270
5270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browse",
3
- "version": "0.8.2-alpha-e7d3b55",
3
+ "version": "0.8.3",
4
4
  "description": "Unified Browserbase CLI for browser automation and cloud APIs.",
5
5
  "type": "module",
6
6
  "private": false,