diff --git a/README.rst b/README.rst index 25cd236..79992bf 100644 --- a/README.rst +++ b/README.rst @@ -327,79 +327,79 @@ Features - Percent - Download Count * - US - - 41.32% - - 19,319 + - 41.43% + - 19,609 * - CN - - 13.04% - - 6,094 + - 12.95% + - 6,129 * - RU - - 5.35% - - 2,502 + - 5.30% + - 2,510 * - SG - - 5.16% - - 2,410 + - 5.15% + - 2,436 * - DE - - 4.03% - - 1,885 + - 3.99% + - 1,889 * - HK - - 3.89% - - 1,817 + - 3.84% + - 1,819 * - JP - - 3.14% - - 1,466 + - 3.19% + - 1,512 * - FR - - 3.04% - - 1,419 + - 3.02% + - 1,428 * - CA - - 2.79% - - 1,302 + - 2.85% + - 1,350 * - KR - - 2.71% - - 1,269 + - 2.76% + - 1,307 * - AU - - 1.87% - - 873 - * - GB - 1.85% - - 866 + - 876 + * - GB + - 1.83% + - 867 * - NO - - 1.61% - - 753 + - 1.68% + - 797 * - IN - 1.57% - - 734 + - 744 * - SE - 1.30% - - 606 + - 614 * - HR - - 0.84% - - 392 + - 0.83% + - 394 * - TH - 0.81% - - 380 + - 385 * - TW - - 0.77% + - 0.76% - 362 * - DK - - 0.70% + - 0.69% - 325 * - IE - 0.67% - - 315 + - 317 * - ES - - 0.56% + - 0.55% - 262 * - IL - - 0.54% + - 0.53% - 253 * - NL - - 0.52% + - 0.51% - 241 * - CH - 0.43% - - 200 + - 202 * - AE - - 0.37% + - 0.36% - 171 * - FI - 0.19% @@ -410,10 +410,10 @@ Features * - PL - 0.13% - 61 - * - TR + * - CW - 0.09% - 44 - * - CW + * - TR - 0.09% - 44 * - OM @@ -434,16 +434,16 @@ Features * - UA - 0.02% - 8 - * - CY + * - GF - 0.01% - 6 - * - GF + * - CY - 0.01% - 6 - * - AR + * - EE - 0.01% - 3 - * - EE + * - AR - 0.01% - 3 * - SK @@ -452,13 +452,13 @@ Features * - PT - 0.00% - 1 - * - MX + * - RS - 0.00% - 1 - * - RS + * - MX - 0.00% - 1 * - **Total** - **100.00%** - - **46,749** + - **47,332** diff --git a/key/download-stats/2024_03_04_4053.md b/key/download-stats/2024_03_04/2024_03_04_4053.md similarity index 100% rename from key/download-stats/2024_03_04_4053.md rename to key/download-stats/2024_03_04/2024_03_04_4053.md diff --git a/key/download-stats/2024_03_05_7993.md b/key/download-stats/2024_03_05_7993.md new file mode 100644 index 0000000..efbb038 --- /dev/null +++ b/key/download-stats/2024_03_05_7993.md @@ -0,0 +1,53 @@ +Served from cache: False +Data processed: 9.19 GiB +Data billed: 9.19 GiB +Estimated cost: $0.05 + +| country | percent | download_count | +| ------- | ------- | -------------- | +| US | 41.43% | 19,609 | +| CN | 12.95% | 6,129 | +| RU | 5.30% | 2,510 | +| SG | 5.15% | 2,436 | +| DE | 3.99% | 1,889 | +| HK | 3.84% | 1,819 | +| JP | 3.19% | 1,512 | +| FR | 3.02% | 1,428 | +| CA | 2.85% | 1,350 | +| KR | 2.76% | 1,307 | +| AU | 1.85% | 876 | +| GB | 1.83% | 867 | +| NO | 1.68% | 797 | +| IN | 1.57% | 744 | +| SE | 1.30% | 614 | +| HR | 0.83% | 394 | +| TH | 0.81% | 385 | +| TW | 0.76% | 362 | +| DK | 0.69% | 325 | +| IE | 0.67% | 317 | +| ES | 0.55% | 262 | +| IL | 0.53% | 253 | +| NL | 0.51% | 241 | +| CH | 0.43% | 202 | +| AE | 0.36% | 171 | +| FI | 0.19% | 90 | +| ZA | 0.19% | 89 | +| PL | 0.13% | 61 | +| CW | 0.09% | 44 | +| TR | 0.09% | 44 | +| OM | 0.09% | 42 | +| IS | 0.09% | 42 | +| CZ | 0.09% | 42 | +| BR | 0.05% | 24 | +| RO | 0.05% | 24 | +| UA | 0.02% | 8 | +| GF | 0.01% | 6 | +| CY | 0.01% | 6 | +| EE | 0.01% | 3 | +| AR | 0.01% | 3 | +| SK | 0.00% | 2 | +| PT | 0.00% | 1 | +| RS | 0.00% | 1 | +| MX | 0.00% | 1 | +| Total | | 47,332 | + diff --git a/nrobo/__init__.py b/nrobo/__init__.py index 99bb6e1..53be714 100644 --- a/nrobo/__init__.py +++ b/nrobo/__init__.py @@ -15,7 +15,7 @@ @email: erpanchdev@gmail.com """ -__version__ = '2024.25.0' +__version__ = '2024.25.1' # install rich library import os diff --git a/nrobo/selenese/__init__.py b/nrobo/selenese/__init__.py index f5dfc4c..553b15e 100644 --- a/nrobo/selenese/__init__.py +++ b/nrobo/selenese/__init__.py @@ -913,11 +913,19 @@ def is_selected(self, by=By.ID, value: Optional[str] = None) -> bool: Can be used to check if a checkbox or radio button is selected. """ - return self.find_element(by, value).is_selected() + + try: + return self.find_element(by, value).is_selected() + except Exception as e: + return False def is_enabled(self, by=By.ID, value: Optional[str] = None) -> bool: """Returns whether the element is enabled.""" - return self.find_element(by, value).is_enabled() + + try: + return self.find_element(by, value).is_enabled() + except Exception as e: + return False def send_keys(self, by=By.ID, value: Optional[str] = None, *text) -> None: """Simulates typing into the element. diff --git a/pyproject.toml b/pyproject.toml index d16a4bd..ee3ba99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" # Project details [project] name = "nrobo" -version = "2024.25.0" +version = "2024.25.1" authors = [{name="Panchdev Singh Chauhan", email="erpanchdev@gmail.com"}] maintainers = [{name="Panchdev Singh Chauhan", email="erpanchdev@gmail.com"}] description = "Powerful! Yet, Easy to USE! Automated Testing Framework" diff --git a/versions/prod.yaml b/versions/prod.yaml index 820bbbc..47d5eec 100644 --- a/versions/prod.yaml +++ b/versions/prod.yaml @@ -1 +1 @@ -version: 2024.25.0 +version: 2024.25.1 diff --git a/versions/test.yaml b/versions/test.yaml index 820bbbc..47d5eec 100644 --- a/versions/test.yaml +++ b/versions/test.yaml @@ -1 +1 @@ -version: 2024.25.0 +version: 2024.25.1