Skip to content

Commit b7eb8fa

Browse files
bump: version 0.0.0 → 0.1.0
1 parent ad7049e commit b7eb8fa

File tree

2 files changed

+103
-1
lines changed

2 files changed

+103
-1
lines changed

CHANGELOG.md

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
## 0.1.0 (2024-11-07)
2+
3+
### Feat
4+
5+
- add method to delete all cookies from the browser session
6+
- add is_enabled property to check element's enabled status
7+
- add option to raise exception in wait_element method
8+
- add method to set browser download path via command
9+
- refactor text extraction using BeautifulSoup for accuracy
10+
- add method to get properties and improve XPath handling
11+
- refactor text retrieval methods and improve code readability
12+
- add timeout parameter to page navigation and loading methods
13+
- add cookie management and scroll into view functionality
14+
- add method to retrieve page PDF data as base64 string
15+
- add async property to retrieve inner HTML of the element
16+
- add async page_source property to retrieve page source code
17+
- add async property to retrieve the current page URL
18+
- add method to find multiple DOM elements using selectors
19+
- refactor WebElement to use FindElementsMixin for clarity
20+
- add FindElementsMixin for asynchronous DOM element handling
21+
- add methods to retrieve network response bodies from logs
22+
- add method to retrieve matching network logs from the page
23+
- add cookie management methods to the Browser class
24+
- add ElementNotFound exception to handle missing elements
25+
- add value property and handle option tag clicks in WebElement
26+
- rename FIND_ELEMENT_XPATH_TEMPLATE to EVALUATE_TEMPLATE
27+
- add exception handling for element not found in find_element method
28+
- downgrade Python version requirement to 3.10 in pyproject.toml
29+
- add async function to fetch browser WebSocket address
30+
- simplify text input handling by using insert_text command
31+
- add TargetCommands class for managing target operations
32+
- add method to generate command for disabling the Page domain
33+
- add method to generate text insertion commands for inputs
34+
- add Page class to manage browser page interactions and events
35+
- add page management methods to the Browser class
36+
- add detailed logging for command responses and event handling
37+
- add event classes for browser, DOM, fetch, and network actions
38+
- add NetworkCommands class for managing network operations
39+
- implement fetch command methods for handling requests and responses
40+
- add method to enable DOM domain events in DomCommands class
41+
- add proxy configuration and fetch event handling to Browser
42+
- refactor connection errors to use custom exceptions for clarity
43+
- add methods to clear callbacks and close WebSocket connection
44+
- remove unnecessary newline at the end of PageEvents class file
45+
- add context managers and async file handling for efficiency
46+
- implement singleton pattern and prevent multiple initializations
47+
- add dynamic connection port handling for browser instance
48+
- add temporary directory management for browser session storage
49+
- add logging for connection events and command executions
50+
- add PageEvents class with PAGE_LOADED event constant
51+
- add temporary callback option to event registration method
52+
- add page event handling and improve loading timeout management
53+
- add utility function to decode base64 images to bytes
54+
- add WebElement class for handling browser elements asynchronously
55+
- add enumeration for selector types in constants module
56+
- add PageCommands class for browser page control functions
57+
- add InputCommands class for handling mouse and keyboard events
58+
- implement DOM commands for interacting with web elements
59+
- refactor BrowserCommands to include new window management methods
60+
- implement some basic methods to navigate and control the browser instance
61+
- enhance ConnectionHandler with detailed docstrings for methods
62+
- add .gitignore, .python-version, and poetry.lock files
63+
64+
### Fix
65+
66+
- browser context now uses the storage commands to get cookies, while the page context us cookies, while page context uses network
67+
- update cookie retrieval to use NetworkCommands for consistency
68+
- remove download path method from Browser and add to Page class
69+
- add options to disable first-run and browser check flags
70+
- handle KeyError when retrieving network response bodies
71+
- use get() to safely retrieve attributes in WebElement class
72+
- rename class attribute retrieval for clarity and consistency
73+
- enhance get_properties and simplify text retrieval method
74+
- enhance create_web_element call with additional value parameter
75+
- fix incorrect key access in JavaScript evaluation result
76+
- update cookie management to clear browser cookies correctly
77+
- filter pages by title instead of URL in Browser class
78+
- filter out non-page entries when fetching valid page IDs
79+
- xpath element solved
80+
- refactor event callback storage to use unique callback IDs
81+
- add JavaScript execution method and enhance click offsets
82+
- simplify response handling and improve event callback structure
83+
- reorder page event enabling to ensure proper browser startup
84+
- add JSON handling and improve WebSocket command execution
85+
86+
### Refactor
87+
88+
- improve WebElement representation and handle None for nodeValue
89+
- add newline at end of file for ElementNotFound exception class
90+
- remove unused aiohttp import and clean up whitespace
91+
- remove unnecessary blank lines in storage.py for clarity
92+
- fix missing newline at the end of the file in page.py
93+
- remove unnecessary whitespace in InputCommands class methods
94+
- refactor DOM command methods for improved clarity and usability
95+
- refactor Page class to inherit from FindElementsMixin
96+
- refactor code to remove duplicate import of StorageCommands
97+
- clarify error messages for command and callback validation
98+
- refactor ConnectionHandler to simplify initialization and connect logic
99+
- remove unnecessary whitespace in element.py for cleaner code
100+
- refactor WebElement to enhance attribute retrieval methods
101+
- refactor connection handling and improve error messaging
102+
- refactor Browser class to use abstract base class and commands

cz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
commitizen:
33
name: cz_conventional_commits
44
tag_format: $version
5-
version: 0.0.0
5+
version: 0.1.0

0 commit comments

Comments
 (0)