File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
sb .sleep (1.1 )
13
13
sb .click ('button[title="Think Deeper"]' )
14
14
sb .sleep (1.1 )
15
- query = "How to migrate from Playwright to SeleniumBase?"
15
+ query = "How to start automating with SeleniumBase?"
16
16
sb .press_keys (textarea , query )
17
17
sb .sleep (1.1 )
18
18
sb .click ('button[data-testid="submit-button"]' )
19
19
sb .sleep (2.5 )
20
20
sb .uc_gui_click_captcha ()
21
21
sb .sleep (2.5 )
22
22
sb .uc_gui_click_captcha ()
23
- sb .sleep (2 .5 )
23
+ sb .sleep (3 .5 )
24
24
stop_button = '[data-testid="stop-button"]'
25
25
thumbs_up = 'button[data-testid*="-thumbs-up-"]'
26
- sb .wait_for_element_absent (stop_button , timeout = 30 )
27
- sb .wait_for_element (thumbs_up , timeout = 30 )
28
- sb .sleep (0.5 )
26
+ sb .wait_for_element_absent (stop_button , timeout = 40 )
27
+ sb .wait_for_element (thumbs_up , timeout = 20 )
28
+ sb .sleep (0.6 )
29
29
sb .click ('button[data-testid*="scroll-to-bottom"]' )
30
- sb .sleep (1.5 )
30
+ sb .sleep (2.2 )
31
31
folder = "downloaded_files"
32
32
file_name = "copilot_results.html"
33
33
sb .save_page_source (file_name , folder )
You can’t perform that action at this time.
0 commit comments