Skip to content

Commit 8f4343d

Browse files
committed
Update the documentation
1 parent e7a3b97 commit 8f4343d

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

examples/cdp_mode/ReadMe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,10 @@ await tab.bring_to_front()
666666
await tab.set_window_state(
667667
left=0, top=0, width=1280, height=720, state="normal")
668668
await tab.get_navigation_history()
669+
await tab.get_user_agent()
670+
await tab.get_cookie_string()
671+
await tab.get_locale_code()
672+
await tab.is_online()
669673
await tab.open_external_inspector() # Open separate browser for debugging
670674
await tab.close()
671675
await tab.scroll_down(amount=25)
@@ -689,6 +693,7 @@ await tab.get_window_rect()
689693
await tab.get_gui_element_rect(selector, timeout=5) # (screen-based)
690694
await tab.get_title()
691695
await tab.get_current_url()
696+
await tab.get_origin()
692697
await tab.send_keys(selector, text, timeout=5)
693698
await tab.type(selector, text, timeout=5)
694699
await tab.click(selector, timeout=5)

help_docs/cdp_mode_methods.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ await tab.bring_to_front()
300300
await tab.set_window_state(
301301
left=0, top=0, width=1280, height=720, state="normal")
302302
await tab.get_navigation_history()
303+
await tab.get_user_agent()
304+
await tab.get_cookie_string()
305+
await tab.get_locale_code()
306+
await tab.is_online()
303307
await tab.open_external_inspector() # Open separate browser for debugging
304308
await tab.close()
305309
await tab.scroll_down(amount=25)
@@ -323,6 +327,7 @@ await tab.get_window_rect()
323327
await tab.get_gui_element_rect(selector, timeout=5) # (screen-based)
324328
await tab.get_title()
325329
await tab.get_current_url()
330+
await tab.get_origin()
326331
await tab.send_keys(selector, text, timeout=5)
327332
await tab.type(selector, text, timeout=5)
328333
await tab.click(selector, timeout=5)

0 commit comments

Comments
 (0)