-
#426
bbbcee7Thanks @miguelg719! - Observe got a major upgrade. Now it will return a suggested playwright method with any necessary arguments for the generated candidate elements. It also includes a major speedup when using a11y tree processing for context. -
#452
16837ecThanks @kamath! - add o3-mini to availablemodel -
#441
1032d7dThanks @seanmcguire12! - allow act to accept observe output
-
#458
da2e5d1Thanks @miguelg719! - Updated getAccessibilityTree() to make sure it doesn't skip useful nodes. Improved getXPathByResolvedObjectId() to account for text nodes and not skip generation -
#448
b216072Thanks @seanmcguire12! - improve handling of radio button clicks -
#445
5bc514fThanks @miguelg719! - Adding back useAccessibilityTree param to observe with a deprecation warning/error indicating to use onlyVisible instead
- #428
5efeb5aThanks @seanmcguire12! - temporarily remove vision
- #422
a2878d0Thanks @miguelg719! - Fixing a build type error for async functions being called inside evaulate for observeHandler.
-
#412
4aa4813Thanks @miguelg719! - Includes a new format to get website context using accessibility (a11y) trees. The new context is provided optionally with the flag useAccessibilityTree for observe tasks. -
#417
1f2b2c5Thanks @sameelarif! - Simplify Stagehand method calls by allowing a simple string input instead of an options object. -
#405
0df1e23Thanks @seanmcguire12! - in ProcessAllOfDom, scroll on large scrollable elements instead of just the root DOM -
#373
ff00965Thanks @sameelarif! - Allow the input of custom instructions into the constructor so that users can guide, or provide guardrails to, the LLM in making decisions.
-
#362
9c20de3Thanks @seanmcguire12! - reduce collisions and improve accuracy of textExtract -
#413
737b4b2Thanks @seanmcguire12! - remove topMostElement check when verifying visibility of text nodes
-
#374
207244eThanks @sameelarif! - Pass in a Stagehand Page object into theon("popup")listener to allow for multi-page handling. -
#367
75c0e20Thanks @kamath! - Logger in LLMClient is inherited by default from Stagehand. Named rather than positional arguments are used in implemented LLMClients. -
#385
5899ec2Thanks @sameelarif! - Moved the LLMClient logger paremeter to the createChatCompletion method options. -
#364
08907ebThanks @kamath! - exposed llmClient in stagehand constructor
-
#383
a77efccThanks @sameelarif! - Unified LLM input/output types for reduced dependence on OpenAI types -
#353
5c6f14bThanks @kamath! - Throw custom error if context is referenced without initialization, remove act/extract handler from index -
#360
89841fcThanks @kamath! - Remove stagehand nav entirely -
#379
b1c6579Thanks @seanmcguire12! - dont require LLM Client to use non-ai stagehand functions -
#382
a41271bThanks @sameelarif! - Added example implementation of the Vercel AI SDK as an LLMClient -
#344
c1cf345Thanks @kamath! - Remove duplicate logging and expose Page/BrowserContext types
-
#324
cd23fa3Thanks @kamath! - Move stagehand.act() -> stagehand.page.act() and deprecate stagehand.act() -
#319
bacbe60Thanks @kamath! - We now wrap playwright page/context within StagehandPage and StagehandContext objects. This helps us augment the Stagehand experience by being able to augment the underlying Playwright -
#324
cd23fa3Thanks @kamath! - moves extract and act -> page and deprecates stagehand.extract and stagehand.observe
-
#316
902e633Thanks @kamath! - rename browserbaseResumeSessionID -> browserbaseSessionID -
#296
f11da27Thanks @kamath! - - Deprecate fields ininitin favor of constructor options- Deprecate
initFromPagein favor ofbrowserbaseResumeSessionIDin constructor - Rename
browserBaseSessionCreateParams->browserbaseSessionCreateParams
- Deprecate
-
#304
0b72f75Thanks @seanmcguire12! - add textExtract: an optional, text based approach to the existing extract method. textExtract often performs better on long form extraction tasks. By defaultextractuses the existing approachdomExtract. -
#298
55f0cd2Thanks @kamath! - Add sessionId to public params
-
#283
b902192Thanks @sameelarif! - allowed customization of eval config via .env -
#299
fbe2300Thanks @sameelarif! - log playwright actions for better debugging
-
#286
9605836Thanks @kamath! - minor improvement in action + new eval case -
#279
d6d7057Thanks @kamath! - Add support for o1-mini and o1-preview in OpenAIClient -
#282
5291797Thanks @kamath! - Added eslint for stricter type checking. Streamlined most of the internal types throughout the cache, llm, and handlers. This should make it easier to add new LLMs down the line, maintain and update the existing code, and make it easier to add new features in the future. Types can be checked by runningnpx eslint .from the project directory.
-
#270
6b10b3bThanks @sameelarif! - add close link to readme -
#288
5afa0b9Thanks @kamath! - add multi-region support for browserbase -
#284
474217cThanks @kamath! - Build wasn't working, this addresses tsc failure. -
#236
85483feThanks @seanmcguire12! - reduce chunk size
- #266
0e8f34fThanks @kamath! - Install wasn't working from NPM due to misconfigured build step. This attempts to fix that.
- #253
598cae2Thanks @sameelarif! - clean up contexts after use
-
#225
a2366feThanks @sameelarif! - Ensuring cross-platform compatibility with tmp directories -
#249
7d06d43Thanks @seanmcguire12! - fix broken evals -
#227
647eefdThanks @kamath! - Fix debugDom still showing chunks when set to false -
#250
5886620Thanks @seanmcguire12! - add ci specific evals -
#222
8dff026Thanks @sameelarif! - Streamline type definitions and fix existing typescript errors -
#232
b9f9949Thanks @kamath! - Minor changes to package.json and tsconfig, mainly around the build process. Also add more type defs and remove unused dependencies.
- #195
87a6305Thanks @kamath! - - Adds structured and more standardized JSON logging- Doesn't init cache if
enableCachingis false, preventingtmp/.cachefrom being created - Updates bundling for browser-side code to support NextJS and serverless
- Doesn't init cache if
-
#179
0031871Thanks @navidkpr! - Fixes:The last big change we pushed out, introduced a small regression. As a result, the gray outline showing the elements Stagehand is looking out is missing. This commit fixes that. We now process selectorMap properly now (using the updated type Record<number, string[]
Improved the action prompt:
Improved the structure Made it more straightforward Improved working for completed arg and prioritized precision over recall