You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ CodeceptJS AI can do the following:
28
28
29
29

30
30
31
-
###How it works
31
+
## How it works
32
32
33
33
As we can't send a browser window with ChatGPT we are not be able to fully share the context. But we can chare HTML of the current page, which is quite enough to analyze and identify if a page contains an element which can be used in a test.
34
34
@@ -40,7 +40,7 @@ Even though, the HTML is still quite big and may exceed the token limit. So we r
40
40
41
41
42
42
43
-
###Set up AI Provider
43
+
## Set up AI Provider
44
44
45
45
To enable AI features in CodeceptJS you should pick an AI provider and add `ai` section to `codecept.conf` file. This section should contain `request` function which will take a prompt from CodeceptJS, send it to AI provider and return a result.
0 commit comments