zelium 0.1.5__py3-none-any.whl → 0.1.6__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.
zelium/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- # Zelium/__init__.py
1
+ # zelium/__init__.py
2
2
  from .js import JS
3
3
  from .alarm import Alarm
4
4
  from .tools import open
@@ -9,7 +9,7 @@ from .xpath import (
9
9
  delDisable,
10
10
  )
11
11
 
12
- __version__ = "0.1.5"
12
+ __version__ = "0.1.6"
13
13
 
14
14
  # ─────────────────────────────
15
15
  # Alias (multi-idioma / semánticos)
zelium/alarm.py CHANGED
@@ -1,4 +1,4 @@
1
- # Zelium/alarm.py
1
+ # zelium/alarm.py
2
2
  from selenium.common.exceptions import NoAlertPresentException
3
3
  from selenium.webdriver.remote.webdriver import WebDriver
4
4
 
@@ -12,7 +12,7 @@ class Alarm:
12
12
  @classmethod
13
13
  def _get_alert(cls):
14
14
  if cls._driver is None:
15
- raise RuntimeError("Driver no asignado. Usa Zelium.alarm.set_driver(driver)")
15
+ raise RuntimeError("Driver no asignado. Usa zelium.alarm.set_driver(driver)")
16
16
  try:
17
17
  return cls._driver.switch_to.alert
18
18
  except NoAlertPresentException:
zelium/config.py CHANGED
@@ -1,4 +1,4 @@
1
- # Zelium/config.py
1
+ # zelium/config.py
2
2
  import os
3
3
  from seleniumwire import webdriver as sw_webdriver
4
4
  from selenium import webdriver as selenium_normal
zelium/helpers.py CHANGED
@@ -1,4 +1,4 @@
1
- # Zelium/helpers.py
1
+ # zelium/helpers.py
2
2
  from selenium.webdriver.common.by import By
3
3
  from selenium.webdriver.support.ui import WebDriverWait
4
4
  from selenium.webdriver.support import expected_conditions as EC
zelium/js.py CHANGED
@@ -1,4 +1,4 @@
1
- # Zelium/js.py
1
+ # zelium/js.py
2
2
  from selenium.common.exceptions import JavascriptException, NoSuchElementException
3
3
  from selenium.webdriver.remote.webdriver import WebDriver
4
4
  from selenium.webdriver.common.by import By
zelium/tools.py CHANGED
@@ -1,4 +1,4 @@
1
- # Zelium/tools.py
1
+ # zelium/tools.py
2
2
  from selenium.common.exceptions import WebDriverException
3
3
 
4
4
  def open(url, driver):
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zelium
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Intelligent abstraction layer over Selenium
5
5
  Author-email: Iván <yupivangh@gmail.com>
6
6
  License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/yup-Ivan/Zelium
8
- Project-URL: Repository, https://github.com/yup-Ivan/Zelium
7
+ Project-URL: Homepage, https://github.com/yup-Ivan/zelium
8
+ Project-URL: Repository, https://github.com/yup-Ivan/zelium
9
9
  Requires-Python: >=3.9
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: selenium>=4.0
@@ -45,7 +45,7 @@ It is designed to:
45
45
  ## 📁 Project Structure
46
46
 
47
47
  ```text
48
- Zelium/
48
+ zelium/
49
49
  ├── __init__.py # Public API of the framework (exports and aliases)
50
50
  ├── alarm.py # Handling browser alerts, confirms, and prompts
51
51
  ├── config.py # Global initialization and configuration (driver, options…)
@@ -0,0 +1,11 @@
1
+ zelium/__init__.py,sha256=jO4slVk5pfNvjKH9_cz4mRDzTM4ZoqtNS3_t5D_Jgls,1542
2
+ zelium/alarm.py,sha256=FxyyuBbgRBIcpvEns1Vd_FaZrJuKHkR5jGFBNV_tQ14,1266
3
+ zelium/config.py,sha256=DZJmjouL3nb8fKDRiWPRbuJEYQVRhAXus9Z3Yr0BxCs,3712
4
+ zelium/helpers.py,sha256=byTKSgykI-19FfgF2ZFKVZ_9HI0V4Vy_rkQJWp7i-PY,759
5
+ zelium/js.py,sha256=eKFn2u8Dnm_Mc8D9tU0GXQT7Tx5w0uDEG53DWie72vg,5017
6
+ zelium/tools.py,sha256=Dcx2yJVbwMzD4bJPBQ6jNcdNpRnBQNT1-zN7uJfUACQ,352
7
+ zelium/xpath.py,sha256=3r_Dqs1uqscLJzZ7aMxvlY2Qb32DUWn0HFVk9FPbn1U,3966
8
+ zelium-0.1.6.dist-info/METADATA,sha256=GZihcsSRBJK0mMUKViy7bFEeLhgM83YreswvV2htt2A,1907
9
+ zelium-0.1.6.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
+ zelium-0.1.6.dist-info/top_level.txt,sha256=RyItnnMqcwWdFLTmB5FKIa2Bfmr21mtluEgwyM1cIeQ,7
11
+ zelium-0.1.6.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- zelium/__init__.py,sha256=kCNu29uiADbv4r03MUoWBlxH_nq-9zpbblBqV2fwZ3A,1542
2
- zelium/alarm.py,sha256=o0ovGSSGc7MK89e4q2uOp7ssanfnTFaOoC362Ihg5Eo,1266
3
- zelium/config.py,sha256=yMAm6nQTB_0mt2UlhJmedNYqwQKUveUbAfYEz2y1rBM,3712
4
- zelium/helpers.py,sha256=HYhTR89EkTnTRe4vN-xg-y_--eeri4BT_4QntnKZNDM,759
5
- zelium/js.py,sha256=5sIzdyCkPnzZ66ScvMwR6OxvCvZvYQw5eAjUsBiHwbI,5017
6
- zelium/tools.py,sha256=rQpD7CB8qZhWJhi130fdEWn5mNedcV3Wkgi-FvCdGDk,352
7
- zelium/xpath.py,sha256=3r_Dqs1uqscLJzZ7aMxvlY2Qb32DUWn0HFVk9FPbn1U,3966
8
- zelium-0.1.5.dist-info/METADATA,sha256=TnjyEeokJfLLe46Xfh7agUa03yG4IyFVRhIgo4aFpLo,1907
9
- zelium-0.1.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
10
- zelium-0.1.5.dist-info/top_level.txt,sha256=RyItnnMqcwWdFLTmB5FKIa2Bfmr21mtluEgwyM1cIeQ,7
11
- zelium-0.1.5.dist-info/RECORD,,
File without changes