Update the ChatGPT example
This commit is contained in:
parent
633f4ec2a1
commit
a2a6e9974c
|
@ -5,7 +5,7 @@ with SB(uc=True, test=True, ad_block=True) as sb:
|
|||
url = "https://chatgpt.com/"
|
||||
sb.activate_cdp_mode(url)
|
||||
query = "Compare Playwright to SeleniumBase in under 178 words"
|
||||
sb.type("#prompt-textarea", query)
|
||||
sb.press_keys("#prompt-textarea", query)
|
||||
sb.click('button[data-testid="send-button"]')
|
||||
print('*** Input for ChatGPT: ***\n"%s"' % query)
|
||||
with suppress(Exception):
|
||||
|
|
Loading…
Reference in New Issue