anchorbrowser 0.4.0__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. anchorbrowser-0.5.0/.release-please-manifest.json +3 -0
  2. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/CHANGELOG.md +14 -0
  3. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/PKG-INFO +1 -1
  4. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/pyproject.toml +1 -1
  5. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_base_client.py +8 -2
  6. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_version.py +1 -1
  7. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/mouse.py +38 -10
  8. anchorbrowser-0.5.0/src/anchorbrowser/types/sessions/mouse_click_params.py +35 -0
  9. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/test_mouse.py +8 -18
  10. anchorbrowser-0.4.0/.release-please-manifest.json +0 -3
  11. anchorbrowser-0.4.0/src/anchorbrowser/types/sessions/mouse_click_params.py +0 -18
  12. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/.gitignore +0 -0
  13. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/CONTRIBUTING.md +0 -0
  14. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/LICENSE +0 -0
  15. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/README.md +0 -0
  16. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/SECURITY.md +0 -0
  17. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/api.md +0 -0
  18. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/bin/check-release-environment +0 -0
  19. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/bin/publish-pypi +0 -0
  20. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/examples/.keep +0 -0
  21. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/noxfile.py +0 -0
  22. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/release-please-config.json +0 -0
  23. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/requirements-dev.lock +0 -0
  24. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/requirements.lock +0 -0
  25. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/__init__.py +0 -0
  26. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_client.py +0 -0
  27. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_compat.py +0 -0
  28. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_constants.py +0 -0
  29. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_exceptions.py +0 -0
  30. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_files.py +0 -0
  31. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_models.py +0 -0
  32. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_qs.py +0 -0
  33. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_resource.py +0 -0
  34. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_response.py +0 -0
  35. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_streaming.py +0 -0
  36. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_types.py +0 -0
  37. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/__init__.py +0 -0
  38. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_compat.py +0 -0
  39. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_datetime_parse.py +0 -0
  40. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_logs.py +0 -0
  41. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_proxy.py +0 -0
  42. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_reflection.py +0 -0
  43. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_resources_proxy.py +0 -0
  44. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_streams.py +0 -0
  45. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_sync.py +0 -0
  46. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_transform.py +0 -0
  47. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_typing.py +0 -0
  48. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/_utils/_utils.py +0 -0
  49. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/lib/.keep +0 -0
  50. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/lib/agent.py +0 -0
  51. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/lib/browser.py +0 -0
  52. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/py.typed +0 -0
  53. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/__init__.py +0 -0
  54. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/agent.py +0 -0
  55. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/browser.py +0 -0
  56. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/events.py +0 -0
  57. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/extensions.py +0 -0
  58. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/identities.py +0 -0
  59. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/profiles.py +0 -0
  60. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/__init__.py +0 -0
  61. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/agent/__init__.py +0 -0
  62. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/agent/agent.py +0 -0
  63. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/agent/files.py +0 -0
  64. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/all.py +0 -0
  65. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/clipboard.py +0 -0
  66. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/keyboard.py +0 -0
  67. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/recordings/__init__.py +0 -0
  68. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/recordings/primary.py +0 -0
  69. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/recordings/recordings.py +0 -0
  70. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/sessions/sessions.py +0 -0
  71. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/task/run.py +0 -0
  72. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/task.py +0 -0
  73. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/resources/tools.py +0 -0
  74. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/__init__.py +0 -0
  75. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/event_signal_params.py +0 -0
  76. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/event_wait_for_params.py +0 -0
  77. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/event_wait_for_response.py +0 -0
  78. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/extension_delete_response.py +0 -0
  79. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/extension_list_response.py +0 -0
  80. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/extension_manifest.py +0 -0
  81. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/extension_retrieve_response.py +0 -0
  82. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/extension_upload_params.py +0 -0
  83. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/extension_upload_response.py +0 -0
  84. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/identity_retrieve_credentials_response.py +0 -0
  85. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/profile_create_params.py +0 -0
  86. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/profile_list_response.py +0 -0
  87. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/profile_retrieve_response.py +0 -0
  88. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_copy_response.py +0 -0
  89. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_create_params.py +0 -0
  90. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_create_response.py +0 -0
  91. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_drag_and_drop_params.py +0 -0
  92. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_drag_and_drop_response.py +0 -0
  93. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_goto_params.py +0 -0
  94. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_goto_response.py +0 -0
  95. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_list_pages_response.py +0 -0
  96. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_paste_params.py +0 -0
  97. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_paste_response.py +0 -0
  98. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_retrieve_downloads_response.py +0 -0
  99. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_retrieve_response.py +0 -0
  100. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_scroll_params.py +0 -0
  101. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_scroll_response.py +0 -0
  102. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_upload_file_params.py +0 -0
  103. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/session_upload_file_response.py +0 -0
  104. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/__init__.py +0 -0
  105. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/agent/__init__.py +0 -0
  106. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/agent/file_list_response.py +0 -0
  107. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/agent/file_upload_params.py +0 -0
  108. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/agent/file_upload_response.py +0 -0
  109. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/all_status_response.py +0 -0
  110. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/clipboard_get_response.py +0 -0
  111. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/clipboard_set_params.py +0 -0
  112. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/clipboard_set_response.py +0 -0
  113. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/keyboard_shortcut_params.py +0 -0
  114. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/keyboard_shortcut_response.py +0 -0
  115. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/keyboard_type_params.py +0 -0
  116. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/keyboard_type_response.py +0 -0
  117. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/mouse_click_response.py +0 -0
  118. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/mouse_double_click_params.py +0 -0
  119. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/mouse_double_click_response.py +0 -0
  120. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/mouse_move_params.py +0 -0
  121. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/mouse_move_response.py +0 -0
  122. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/recording_list_response.py +0 -0
  123. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/recording_pause_response.py +0 -0
  124. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/recording_resume_response.py +0 -0
  125. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/sessions/recordings/__init__.py +0 -0
  126. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/shared/__init__.py +0 -0
  127. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/shared/success_response.py +0 -0
  128. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/task_create_params.py +0 -0
  129. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/task_create_response.py +0 -0
  130. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/task_list_params.py +0 -0
  131. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/task_list_response.py +0 -0
  132. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/task_run_params.py +0 -0
  133. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/task_run_response.py +0 -0
  134. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/tool_fetch_webpage_params.py +0 -0
  135. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/tool_fetch_webpage_response.py +0 -0
  136. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/tool_perform_web_task_params.py +0 -0
  137. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/tool_perform_web_task_response.py +0 -0
  138. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/src/anchorbrowser/types/tool_screenshot_webpage_params.py +0 -0
  139. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/__init__.py +0 -0
  140. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/__init__.py +0 -0
  141. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/__init__.py +0 -0
  142. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/agent/test_files.py +0 -0
  143. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/recordings/__init__.py +0 -0
  144. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/recordings/test_primary.py +0 -0
  145. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/test_agent.py +0 -0
  146. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/test_all.py +0 -0
  147. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/test_clipboard.py +0 -0
  148. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/test_keyboard.py +0 -0
  149. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/sessions/test_recordings.py +0 -0
  150. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_events.py +0 -0
  151. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_extensions.py +0 -0
  152. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_identities.py +0 -0
  153. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_profiles.py +0 -0
  154. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_sessions.py +0 -0
  155. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_task.py +0 -0
  156. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/api_resources/test_tools.py +0 -0
  157. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/conftest.py +0 -0
  158. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/sample_file.txt +0 -0
  159. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_client.py +0 -0
  160. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_deepcopy.py +0 -0
  161. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_extract_files.py +0 -0
  162. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_files.py +0 -0
  163. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_models.py +0 -0
  164. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_qs.py +0 -0
  165. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_required_args.py +0 -0
  166. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_response.py +0 -0
  167. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_streaming.py +0 -0
  168. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_transform.py +0 -0
  169. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_utils/test_datetime_parse.py +0 -0
  170. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_utils/test_proxy.py +0 -0
  171. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/test_utils/test_typing.py +0 -0
  172. {anchorbrowser-0.4.0 → anchorbrowser-0.5.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.5.0"
3
+ }
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.0 (2025-12-16)
4
+
5
+ Full Changelog: [v0.4.0...v0.5.0](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.4.0...v0.5.0)
6
+
7
+ ### Features
8
+
9
+ * Bro 949 mouse click api to support dom selector click ([88947eb](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/88947eb7af3414d1ac76f6de3961623f2f3c173d))
10
+ * Bro 949 mouse click api to support dom selector click ([2f21297](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/2f21297ca41d95d1f5c455fdff0990a7df07069f))
11
+
12
+
13
+ ### Chores
14
+
15
+ * **internal:** add missing files argument to base client ([3eb10ca](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/3eb10ca9462a0dd082a1a89872a15da21abee703))
16
+
3
17
  ## 0.4.0 (2025-12-11)
4
18
 
5
19
  Full Changelog: [v0.3.13...v0.4.0](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.3.13...v0.4.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anchorbrowser
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: The official Python library for the anchorbrowser API
5
5
  Project-URL: Homepage, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
6
6
  Project-URL: Repository, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "anchorbrowser"
3
- version = "0.4.0"
3
+ version = "0.5.0"
4
4
  description = "The official Python library for the anchorbrowser API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1247,9 +1247,12 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
1247
1247
  *,
1248
1248
  cast_to: Type[ResponseT],
1249
1249
  body: Body | None = None,
1250
+ files: RequestFiles | None = None,
1250
1251
  options: RequestOptions = {},
1251
1252
  ) -> ResponseT:
1252
- opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
1253
+ opts = FinalRequestOptions.construct(
1254
+ method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1255
+ )
1253
1256
  return self.request(cast_to, opts)
1254
1257
 
1255
1258
  def put(
@@ -1767,9 +1770,12 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
1767
1770
  *,
1768
1771
  cast_to: Type[ResponseT],
1769
1772
  body: Body | None = None,
1773
+ files: RequestFiles | None = None,
1770
1774
  options: RequestOptions = {},
1771
1775
  ) -> ResponseT:
1772
- opts = FinalRequestOptions.construct(method="patch", url=path, json_data=body, **options)
1776
+ opts = FinalRequestOptions.construct(
1777
+ method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1778
+ )
1773
1779
  return await self.request(cast_to, opts)
1774
1780
 
1775
1781
  async def put(
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "anchorbrowser"
4
- __version__ = "0.4.0" # x-release-please-version
4
+ __version__ = "0.5.0" # x-release-please-version
@@ -49,9 +49,12 @@ class MouseResource(SyncAPIResource):
49
49
  self,
50
50
  session_id: str,
51
51
  *,
52
- x: int,
53
- y: int,
54
52
  button: Literal["left", "middle", "right"] | Omit = omit,
53
+ index: float | Omit = omit,
54
+ selector: str | Omit = omit,
55
+ selector_timeout_ms: float | Omit = omit,
56
+ x: float | Omit = omit,
57
+ y: float | Omit = omit,
55
58
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
56
59
  # The extra values given here take precedence over values defined on the client or passed to this method.
57
60
  extra_headers: Headers | None = None,
@@ -63,12 +66,20 @@ class MouseResource(SyncAPIResource):
63
66
  Performs a mouse click at the specified coordinates
64
67
 
65
68
  Args:
69
+ button: Mouse button to use
70
+
71
+ index: If a selector was passed and multiple elements match the selector, the index of
72
+ the element in the list (0-based). Defaults to 0.
73
+
74
+ selector: A valid CSS selector for the requested element
75
+
76
+ selector_timeout_ms: If a selector was passed, timeout in ms for waiting for the DOM element to be
77
+ selected. Defaults to 5000 (5 seconds).
78
+
66
79
  x: X coordinate
67
80
 
68
81
  y: Y coordinate
69
82
 
70
- button: Mouse button to use
71
-
72
83
  extra_headers: Send extra headers
73
84
 
74
85
  extra_query: Add additional query parameters to the request
@@ -83,9 +94,12 @@ class MouseResource(SyncAPIResource):
83
94
  f"/v1/sessions/{session_id}/mouse/click",
84
95
  body=maybe_transform(
85
96
  {
97
+ "button": button,
98
+ "index": index,
99
+ "selector": selector,
100
+ "selector_timeout_ms": selector_timeout_ms,
86
101
  "x": x,
87
102
  "y": y,
88
- "button": button,
89
103
  },
90
104
  mouse_click_params.MouseClickParams,
91
105
  ),
@@ -216,9 +230,12 @@ class AsyncMouseResource(AsyncAPIResource):
216
230
  self,
217
231
  session_id: str,
218
232
  *,
219
- x: int,
220
- y: int,
221
233
  button: Literal["left", "middle", "right"] | Omit = omit,
234
+ index: float | Omit = omit,
235
+ selector: str | Omit = omit,
236
+ selector_timeout_ms: float | Omit = omit,
237
+ x: float | Omit = omit,
238
+ y: float | Omit = omit,
222
239
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
223
240
  # The extra values given here take precedence over values defined on the client or passed to this method.
224
241
  extra_headers: Headers | None = None,
@@ -230,12 +247,20 @@ class AsyncMouseResource(AsyncAPIResource):
230
247
  Performs a mouse click at the specified coordinates
231
248
 
232
249
  Args:
250
+ button: Mouse button to use
251
+
252
+ index: If a selector was passed and multiple elements match the selector, the index of
253
+ the element in the list (0-based). Defaults to 0.
254
+
255
+ selector: A valid CSS selector for the requested element
256
+
257
+ selector_timeout_ms: If a selector was passed, timeout in ms for waiting for the DOM element to be
258
+ selected. Defaults to 5000 (5 seconds).
259
+
233
260
  x: X coordinate
234
261
 
235
262
  y: Y coordinate
236
263
 
237
- button: Mouse button to use
238
-
239
264
  extra_headers: Send extra headers
240
265
 
241
266
  extra_query: Add additional query parameters to the request
@@ -250,9 +275,12 @@ class AsyncMouseResource(AsyncAPIResource):
250
275
  f"/v1/sessions/{session_id}/mouse/click",
251
276
  body=await async_maybe_transform(
252
277
  {
278
+ "button": button,
279
+ "index": index,
280
+ "selector": selector,
281
+ "selector_timeout_ms": selector_timeout_ms,
253
282
  "x": x,
254
283
  "y": y,
255
- "button": button,
256
284
  },
257
285
  mouse_click_params.MouseClickParams,
258
286
  ),
@@ -0,0 +1,35 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Annotated, TypedDict
6
+
7
+ from ..._utils import PropertyInfo
8
+
9
+ __all__ = ["MouseClickParams"]
10
+
11
+
12
+ class MouseClickParams(TypedDict, total=False):
13
+ button: Literal["left", "middle", "right"]
14
+ """Mouse button to use"""
15
+
16
+ index: float
17
+ """
18
+ If a selector was passed and multiple elements match the selector, the index of
19
+ the element in the list (0-based). Defaults to 0.
20
+ """
21
+
22
+ selector: str
23
+ """A valid CSS selector for the requested element"""
24
+
25
+ selector_timeout_ms: Annotated[float, PropertyInfo(alias="timeout")]
26
+ """
27
+ If a selector was passed, timeout in ms for waiting for the DOM element to be
28
+ selected. Defaults to 5000 (5 seconds).
29
+ """
30
+
31
+ x: float
32
+ """X coordinate"""
33
+
34
+ y: float
35
+ """Y coordinate"""
@@ -26,8 +26,6 @@ class TestMouse:
26
26
  def test_method_click(self, client: Anchorbrowser) -> None:
27
27
  mouse = client.sessions.mouse.click(
28
28
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
29
- x=0,
30
- y=0,
31
29
  )
32
30
  assert_matches_type(MouseClickResponse, mouse, path=["response"])
33
31
 
@@ -36,9 +34,12 @@ class TestMouse:
36
34
  def test_method_click_with_all_params(self, client: Anchorbrowser) -> None:
37
35
  mouse = client.sessions.mouse.click(
38
36
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
37
+ button="left",
38
+ index=0,
39
+ selector="selector",
40
+ selector_timeout_ms=0,
39
41
  x=0,
40
42
  y=0,
41
- button="left",
42
43
  )
43
44
  assert_matches_type(MouseClickResponse, mouse, path=["response"])
44
45
 
@@ -47,8 +48,6 @@ class TestMouse:
47
48
  def test_raw_response_click(self, client: Anchorbrowser) -> None:
48
49
  response = client.sessions.mouse.with_raw_response.click(
49
50
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
50
- x=0,
51
- y=0,
52
51
  )
53
52
 
54
53
  assert response.is_closed is True
@@ -61,8 +60,6 @@ class TestMouse:
61
60
  def test_streaming_response_click(self, client: Anchorbrowser) -> None:
62
61
  with client.sessions.mouse.with_streaming_response.click(
63
62
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
64
- x=0,
65
- y=0,
66
63
  ) as response:
67
64
  assert not response.is_closed
68
65
  assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -78,8 +75,6 @@ class TestMouse:
78
75
  with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
79
76
  client.sessions.mouse.with_raw_response.click(
80
77
  session_id="",
81
- x=0,
82
- y=0,
83
78
  )
84
79
 
85
80
  @pytest.mark.skip(reason="Prism tests are disabled")
@@ -204,8 +199,6 @@ class TestAsyncMouse:
204
199
  async def test_method_click(self, async_client: AsyncAnchorbrowser) -> None:
205
200
  mouse = await async_client.sessions.mouse.click(
206
201
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
207
- x=0,
208
- y=0,
209
202
  )
210
203
  assert_matches_type(MouseClickResponse, mouse, path=["response"])
211
204
 
@@ -214,9 +207,12 @@ class TestAsyncMouse:
214
207
  async def test_method_click_with_all_params(self, async_client: AsyncAnchorbrowser) -> None:
215
208
  mouse = await async_client.sessions.mouse.click(
216
209
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
210
+ button="left",
211
+ index=0,
212
+ selector="selector",
213
+ selector_timeout_ms=0,
217
214
  x=0,
218
215
  y=0,
219
- button="left",
220
216
  )
221
217
  assert_matches_type(MouseClickResponse, mouse, path=["response"])
222
218
 
@@ -225,8 +221,6 @@ class TestAsyncMouse:
225
221
  async def test_raw_response_click(self, async_client: AsyncAnchorbrowser) -> None:
226
222
  response = await async_client.sessions.mouse.with_raw_response.click(
227
223
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
228
- x=0,
229
- y=0,
230
224
  )
231
225
 
232
226
  assert response.is_closed is True
@@ -239,8 +233,6 @@ class TestAsyncMouse:
239
233
  async def test_streaming_response_click(self, async_client: AsyncAnchorbrowser) -> None:
240
234
  async with async_client.sessions.mouse.with_streaming_response.click(
241
235
  session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
242
- x=0,
243
- y=0,
244
236
  ) as response:
245
237
  assert not response.is_closed
246
238
  assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -256,8 +248,6 @@ class TestAsyncMouse:
256
248
  with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
257
249
  await async_client.sessions.mouse.with_raw_response.click(
258
250
  session_id="",
259
- x=0,
260
- y=0,
261
251
  )
262
252
 
263
253
  @pytest.mark.skip(reason="Prism tests are disabled")
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.4.0"
3
- }
@@ -1,18 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Literal, Required, TypedDict
6
-
7
- __all__ = ["MouseClickParams"]
8
-
9
-
10
- class MouseClickParams(TypedDict, total=False):
11
- x: Required[int]
12
- """X coordinate"""
13
-
14
- y: Required[int]
15
- """Y coordinate"""
16
-
17
- button: Literal["left", "middle", "right"]
18
- """Mouse button to use"""
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes