Skip to content

Commit a2a6e99

Browse files
committed
Update the ChatGPT example
1 parent 633f4ec commit a2a6e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cdp_mode/raw_chatgpt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
url = "https://chatgpt.com/"
66
sb.activate_cdp_mode(url)
77
query = "Compare Playwright to SeleniumBase in under 178 words"
8-
sb.type("#prompt-textarea", query)
8+
sb.press_keys("#prompt-textarea", query)
99
sb.click('button[data-testid="send-button"]')
1010
print('*** Input for ChatGPT: ***\n"%s"' % query)
1111
with suppress(Exception):

0 commit comments

Comments
 (0)