File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
website/versioned_docs/version-20.x/api Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,17 @@ For a more detailed guide on integrating Wix Pilot in your tests, refer to the \
2727
2828## Methods
2929
30- - [ ` pilot.init() ` ] ( #pilotinitprompthandler-detox )
30+ - [ ` pilot.init() ` ] ( #pilotinitprompthandler )
3131- [ ` pilot.perform() ` ] ( #pilotperformsteps )
3232- [ ` pilot.autopilot() ` ] ( #pilotautopilotgoal )
3333
34- ## ` pilot.init(promptHandler, detox ) `
34+ ## ` pilot.init(promptHandler) `
3535
3636Initializes Pilot with the given prompt handler. Must be called before any other Pilot methods.
3737
3838** Parameters:**
3939
4040- ` promptHandler ` (PromptHandler): An object implementing the [ ` PromptHandler ` ] ( #prompthandler-interface ) interface.
41- - ` detox ` (DetoxInstance): The Detox instance to integrate with Wix Pilot.
4241
4342** Example:**
4443
@@ -48,7 +47,7 @@ const OpenAIPromptHandler = require('./OpenAIPromptHandler');
4847
4948beforeAll (() => {
5049 const promptHandler = new OpenAIPromptHandler (' YOUR_OPENAI_API_KEY' );
51- pilot .init (promptHandler, detox );
50+ pilot .init (promptHandler);
5251});
5352```
5453
You can’t perform that action at this time.
0 commit comments