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.
Files changed (33) hide show
  1. {phantomwright-0.0.7 → phantomwright-0.0.8}/PKG-INFO +4 -4
  2. {phantomwright-0.0.7 → phantomwright-0.0.8}/README.md +2 -2
  3. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/_impl/_core_debug_patch.py +1 -1
  4. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/_impl/_evaluate_patch.py +2 -2
  5. phantomwright-0.0.8/phantomwright/_repo_version.py +1 -0
  6. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/async_api/__init__.py +1 -1
  7. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/stealth.py +1 -1
  8. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/sync_api/__init__.py +1 -1
  9. {phantomwright-0.0.7 → phantomwright-0.0.8}/pyproject.toml +2 -2
  10. phantomwright-0.0.7/phantomwright/_repo_version.py +0 -1
  11. {phantomwright-0.0.7 → phantomwright-0.0.8}/.gitignore +0 -0
  12. {phantomwright-0.0.7 → phantomwright-0.0.8}/LICENSE +0 -0
  13. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/__init__.py +0 -0
  14. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/_impl/__init__.py +0 -0
  15. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/__init__.py +0 -0
  16. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.app.js +0 -0
  17. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.csi.js +0 -0
  18. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.hairline.js +0 -0
  19. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.load.times.js +0 -0
  20. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/chrome.runtime.js +0 -0
  21. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/error.prototype.js +0 -0
  22. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/iframe.contentWindow.js +0 -0
  23. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/media.codecs.js +0 -0
  24. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.hardwareConcurrency.js +0 -0
  25. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.languages.js +0 -0
  26. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.permissions.js +0 -0
  27. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.platform.js +0 -0
  28. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.plugins.js +0 -0
  29. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.userAgent.js +0 -0
  30. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/navigator.vendor.js +0 -0
  31. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/evasions/webgl.vendor.js +0 -0
  32. {phantomwright-0.0.7 → phantomwright-0.0.8}/phantomwright/stealth/js/generate.magic.arrays.js +0 -0
  33. {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.7
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: patchright-fork==1.56.2
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 patchright_fork install-deps
38
- uv run patchright_fork install
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 patchright_fork install-deps
18
- uv run patchright_fork install
17
+ uv run phantomwright_driver install-deps
18
+ uv run phantomwright_driver install
19
19
  uv run pytest
20
20
  ```
21
21
 
@@ -1,6 +1,6 @@
1
1
  import os
2
2
 
3
- import patchright_fork._impl._transport as t
3
+ import phantomwright_driver._impl._transport as t
4
4
 
5
5
  _patched = False
6
6
 
@@ -1,7 +1,7 @@
1
1
  from functools import wraps
2
2
 
3
- from patchright_fork.async_api import Page as AsyncPage
4
- from patchright_fork.sync_api import Page as SyncPage
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 patchright_fork.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
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",
@@ -4,7 +4,7 @@ from pathlib import Path
4
4
  from typing import Any, Dict, Union, Tuple, Optional
5
5
  import warnings
6
6
 
7
- from patchright_fork import async_api, sync_api
7
+ from phantomwright_driver import async_api, sync_api
8
8
 
9
9
 
10
10
  def from_file(name) -> str:
@@ -1,4 +1,4 @@
1
- from patchright_fork.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
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.7"
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
- "patchright-fork==1.56.2",
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