steero 0.0.1__py3-none-any.whl
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.
- steero/__init__.py +10 -0
- steero/py.typed +0 -0
- steero-0.0.1.dist-info/METADATA +99 -0
- steero-0.0.1.dist-info/RECORD +6 -0
- steero-0.0.1.dist-info/WHEEL +4 -0
- steero-0.0.1.dist-info/licenses/LICENSE +21 -0
steero/__init__.py
ADDED
steero/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: steero
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Typed, async-first Python driver for stock Chrome and Firefox over W3C WebDriver BiDi, with auto-waiting and self-healing locators
|
|
5
|
+
Project-URL: Repository, https://github.com/Pandiyarajk/steero
|
|
6
|
+
Project-URL: Issues, https://github.com/Pandiyarajk/steero/issues
|
|
7
|
+
Author-email: Pandiyaraj Karuppasamy <pandiyarajk@live.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: auto-wait,bidi,browser-automation,chrome,firefox,pytest,testing,ui-testing,webdriver,webdriver-bidi
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Framework :: AsyncIO
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
|
|
20
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
21
|
+
Classifier: Topic :: Software Development :: Testing
|
|
22
|
+
Classifier: Typing :: Typed
|
|
23
|
+
Requires-Python: >=3.11
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: build>=1.0; extra == 'dev'
|
|
26
|
+
Requires-Dist: mypy>=1.11; extra == 'dev'
|
|
27
|
+
Requires-Dist: pytest>=7.0; extra == 'dev'
|
|
28
|
+
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
29
|
+
Requires-Dist: twine>=4.0; extra == 'dev'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# steero
|
|
33
|
+
|
|
34
|
+
> **Disclaimer.** steero is provided **AS IS**, without warranty of any kind,
|
|
35
|
+
> express or implied. **Use it entirely at your own risk.** It launches and
|
|
36
|
+
> controls web browsers and can act on any site you point it at. The authors
|
|
37
|
+
> accept no liability for data loss or corruption, damage to hardware, systems
|
|
38
|
+
> that will not start, business interruption, or any consequential damages.
|
|
39
|
+
> You are responsible for checking what you automate, keeping tested backups,
|
|
40
|
+
> and being authorised to act on the sites and accounts you drive. steero is not
|
|
41
|
+
> certified for regulated, forensic, safety-critical or high-assurance use.
|
|
42
|
+
> See [DISCLAIMER.md](DISCLAIMER.md). The [LICENSE](LICENSE) (MIT) is the
|
|
43
|
+
> governing text and prevails wherever it and this summary differ.
|
|
44
|
+
|
|
45
|
+
Typed, async-first Python driver for **stock** Chrome and Firefox over the W3C
|
|
46
|
+
**WebDriver BiDi** standard, with auto-waiting and self-healing locators.
|
|
47
|
+
|
|
48
|
+
## Status
|
|
49
|
+
|
|
50
|
+
**Pre-alpha. This 0.0.1 release reserves the name and contains no driver yet.**
|
|
51
|
+
Follow the repository for progress.
|
|
52
|
+
|
|
53
|
+
## Goals
|
|
54
|
+
|
|
55
|
+
- Drives the Chrome and Firefox you already have, with no patched browser builds.
|
|
56
|
+
CDP is an opt-in extra for Chromium only.
|
|
57
|
+
- Auto-waiting and actionability checks before every action, in pure Python.
|
|
58
|
+
- Fully typed protocol models, generated from the BiDi specification.
|
|
59
|
+
- Async core with a sync API on top.
|
|
60
|
+
- A pytest plugin that captures console errors, failed requests and a screenshot
|
|
61
|
+
on failure, plus deterministic self-healing locators.
|
|
62
|
+
- Leaves nothing behind: no orphaned browser processes, no leaked temp profiles.
|
|
63
|
+
|
|
64
|
+
## Install
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install steero
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Or from a checkout:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pip install -e .
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Usage
|
|
77
|
+
|
|
78
|
+
Planned API (not implemented yet):
|
|
79
|
+
|
|
80
|
+
```python
|
|
81
|
+
from steero.sync_api import launch
|
|
82
|
+
|
|
83
|
+
with launch("firefox", headless=True) as browser:
|
|
84
|
+
page = browser.new_page()
|
|
85
|
+
page.goto("https://example.com")
|
|
86
|
+
page.get_by_role("link", name="More information").click() # waits until actionable
|
|
87
|
+
page.screenshot(path="out.png")
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Contributing
|
|
91
|
+
|
|
92
|
+
Contributions are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md), the
|
|
93
|
+
[Code of Conduct](CODE_OF_CONDUCT.md) and [GOVERNANCE.md](GOVERNANCE.md). Report
|
|
94
|
+
security problems privately, as described in [SECURITY.md](SECURITY.md).
|
|
95
|
+
Design decisions are recorded in [docs/adr/](docs/adr/).
|
|
96
|
+
|
|
97
|
+
## License
|
|
98
|
+
|
|
99
|
+
MIT - see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
steero/__init__.py,sha256=kWuO4n8DcR1uLKUoxMO-KhDLK3aYZS0jc3xXLg68eNo,240
|
|
2
|
+
steero/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
steero-0.0.1.dist-info/METADATA,sha256=725pR0sAwSdl3r42BSmzsbBtWoINaDgAoC-MmDlsEYU,3770
|
|
4
|
+
steero-0.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
5
|
+
steero-0.0.1.dist-info/licenses/LICENSE,sha256=eu_E3P11-3Cac6w8fs69RwA2oSVkdJz16c7A2zoMbMM,1079
|
|
6
|
+
steero-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Pandiyaraj Karuppasamy
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|