phantomwright 0.0.7__tar.gz → 0.0.8__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.
- {phantomwright-0.0.7 → phantomwright-0.0.8}/PKG-INFO +4 -4
- {phantomwright-0.0.7 → phantomwright-0.0.8}/README.md +2 -2
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/_impl/_core_debug_patch.py +1 -1
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/_impl/_evaluate_patch.py +2 -2
- phantomwright-0.0.8/phantomwright/_repo_version.py +1 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/async_api/__init__.py +1 -1
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/stealth.py +1 -1
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/sync_api/__init__.py +1 -1
- {phantomwright-0.0.7 → phantomwright-0.0.8}/pyproject.toml +2 -2
- phantomwright-0.0.7/phantomwright/_repo_version.py +0 -1
- {phantomwright-0.0.7 → phantomwright-0.0.8}/.gitignore +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/LICENSE +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/__init__.py +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/_impl/__init__.py +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/__init__.py +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.app.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.csi.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.hairline.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.load.times.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.runtime.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/error.prototype.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/iframe.contentWindow.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/media.codecs.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.hardwareConcurrency.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.languages.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.permissions.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.platform.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.plugins.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.userAgent.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.vendor.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/webgl.vendor.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/generate.magic.arrays.js +0 -0
- {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/utils.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: phantomwright
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: Bridging playwright-core patch + extending playwright API for stealth injection & user simulation
|
|
5
5
|
Project-URL: homepage, https://github.com/ai-microsoft/phantom-wright
|
|
6
6
|
Project-URL: changelog, https://github.com/ai-microsoft/phantom-wright/blob/main/CHANGELOG.md
|
|
@@ -10,7 +10,7 @@ License-File: LICENSE
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Requires-Python: >=3.9
|
|
13
|
-
Requires-Dist:
|
|
13
|
+
Requires-Dist: phantomwright-driver==1.56.0
|
|
14
14
|
Provides-Extra: black
|
|
15
15
|
Requires-Dist: black>=25.9.0; extra == 'black'
|
|
16
16
|
Provides-Extra: dev
|
|
@@ -34,8 +34,8 @@ Phantomwright is a library that bridging playwright-core patch + extending playw
|
|
|
34
34
|
uv venv
|
|
35
35
|
.venv\Scripts\activate
|
|
36
36
|
uv sync --extra dev
|
|
37
|
-
uv run
|
|
38
|
-
uv run
|
|
37
|
+
uv run phantomwright_driver install-deps
|
|
38
|
+
uv run phantomwright_driver install
|
|
39
39
|
uv run pytest
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -14,8 +14,8 @@ Phantomwright is a library that bridging playwright-core patch + extending playw
|
|
|
14
14
|
uv venv
|
|
15
15
|
.venv\Scripts\activate
|
|
16
16
|
uv sync --extra dev
|
|
17
|
-
uv run
|
|
18
|
-
uv run
|
|
17
|
+
uv run phantomwright_driver install-deps
|
|
18
|
+
uv run phantomwright_driver install
|
|
19
19
|
uv run pytest
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from functools import wraps
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
3
|
+
from phantomwright_driver.async_api import Page as AsyncPage
|
|
4
|
+
from phantomwright_driver.sync_api import Page as SyncPage
|
|
5
5
|
|
|
6
6
|
def do_patch() -> None:
|
|
7
7
|
""" Aysnc / Sync version of evaluate override"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = 'v0.0.8'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from
|
|
1
|
+
from phantomwright_driver.async_api import expect, async_playwright, Accessibility, APIRequest, APIRequestContext, APIResponse, Browser, BrowserContext, BrowserType, CDPSession, ChromiumBrowserContext, ConsoleMessage, Cookie, Dialog, Download, ElementHandle, Error, FileChooser, FilePayload, FloatRect, Frame, FrameLocator, Geolocation, HttpCredentials, JSHandle, Keyboard, Locator, Mouse, Page, PdfMargins, Position, Playwright, ProxySettings, Request, ResourceTiming, Response, Route, Selectors, SourceLocation, StorageState, StorageStateCookie, TimeoutError, Touchscreen, Video, ViewportSize, WebError, WebSocket, WebSocketRoute, Worker
|
|
2
2
|
|
|
3
3
|
__all__ = [
|
|
4
4
|
"expect",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from
|
|
1
|
+
from phantomwright_driver.sync_api import expect, Accessibility, APIRequest, APIRequestContext, APIResponse, Browser, BrowserContext, BrowserType, CDPSession, ChromiumBrowserContext, ConsoleMessage, Cookie, Dialog, Download, ElementHandle, Error, FileChooser, FilePayload, FloatRect, Frame, FrameLocator, Geolocation, HttpCredentials, JSHandle, Keyboard, Locator, Mouse, Page, PdfMargins, Position, Playwright, ProxySettings, Request, ResourceTiming, Response, Route, Selectors, SourceLocation, StorageState, StorageStateCookie, sync_playwright, TimeoutError, Touchscreen, Video, ViewportSize, WebError, WebSocket, WebSocketRoute, Worker
|
|
2
2
|
|
|
3
3
|
__all__ = [
|
|
4
4
|
"expect",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "phantomwright"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.8"
|
|
4
4
|
description = "Bridging playwright-core patch + extending playwright API for stealth injection & user simulation"
|
|
5
5
|
authors = [
|
|
6
6
|
{name="Hang Yin", email="hangyin@microsoft.com"},
|
|
@@ -11,7 +11,7 @@ readme = "README.md"
|
|
|
11
11
|
requires-python = ">=3.9"
|
|
12
12
|
|
|
13
13
|
dependencies = [
|
|
14
|
-
"
|
|
14
|
+
"phantomwright-driver==1.56.0",
|
|
15
15
|
]
|
|
16
16
|
|
|
17
17
|
classifiers = [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = 'v0.0.7'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.hairline.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.load.times.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.runtime.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/error.prototype.js
RENAMED
|
File without changes
|
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/media.codecs.js
RENAMED
|
File without changes
|
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.languages.js
RENAMED
|
File without changes
|
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.platform.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.plugins.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.userAgent.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.vendor.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/webgl.vendor.js
RENAMED
|
File without changes
|
{phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/generate.magic.arrays.js
RENAMED
|
File without changes
|
|
File without changes
|