selenium-query 0.2.1__tar.gz → 0.3.1__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.
- {selenium_query-0.2.1 → selenium_query-0.3.1}/PKG-INFO +7 -12
- {selenium_query-0.2.1 → selenium_query-0.3.1}/README.md +6 -11
- {selenium_query-0.2.1 → selenium_query-0.3.1}/pyproject.toml +1 -1
- selenium_query-0.3.1/selenium_query/__init__.py +1277 -0
- selenium_query-0.3.1/selenium_query/__version__.py +1 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_asserter_getter.py +58 -23
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_basics/base_getter.py +2 -10
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_basics/boolean_getter.py +15 -10
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_filter_getter.py +22 -8
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_negation_transmitter.py +10 -2
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_values_getter.py +3 -3
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/base_selenium_page.py +25 -21
- selenium_query-0.3.1/selenium_query/colors.py +47 -0
- selenium_query-0.2.1/selenium_query/__init__.py +0 -3822
- selenium_query-0.2.1/selenium_query/__version__.py +0 -1
- {selenium_query-0.2.1 → selenium_query-0.3.1}/LICENSE +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_any_all_getters.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_basics/__init__.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_basics/action_getter.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_basics/generic_value_getter.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_mapper_getter.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_order_getter.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/_types_and_tools.py +0 -0
- {selenium_query-0.2.1 → selenium_query-0.3.1}/selenium_query/getter.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: selenium-query
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Python equivalent of jQuery, to write selenium tests.
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
Author: Frédéric Zinelli
|
|
@@ -639,14 +639,12 @@ The important relationship is:
|
|
|
639
639
|
|
|
640
640
|
```text
|
|
641
641
|
BaseSeleniumPage
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
│
|
|
649
|
-
query
|
|
642
|
+
├── driver
|
|
643
|
+
├── waiter
|
|
644
|
+
└── Getter
|
|
645
|
+
└── find(...)
|
|
646
|
+
│
|
|
647
|
+
query
|
|
650
648
|
```
|
|
651
649
|
|
|
652
650
|
In normal user code, the query API starts with:
|
|
@@ -703,13 +701,11 @@ The expected model is:
|
|
|
703
701
|
|
|
704
702
|
```text
|
|
705
703
|
load_url()
|
|
706
|
-
│
|
|
707
704
|
├── load the URL
|
|
708
705
|
├── wait until the page is ready
|
|
709
706
|
└── gather shared page data
|
|
710
707
|
|
|
711
708
|
data()
|
|
712
|
-
│
|
|
713
709
|
└── build data specific to the subclass
|
|
714
710
|
```
|
|
715
711
|
|
|
@@ -1261,7 +1257,6 @@ Both make also use of the [`pmt-tools`](https://gitlab.com/frederic-zinelli/pmt_
|
|
|
1261
1257
|
Selenium environment
|
|
1262
1258
|
↓
|
|
1263
1259
|
BaseSeleniumPage
|
|
1264
|
-
│
|
|
1265
1260
|
├── load URL
|
|
1266
1261
|
├── wait for readiness
|
|
1267
1262
|
├── gather data
|
|
@@ -621,14 +621,12 @@ The important relationship is:
|
|
|
621
621
|
|
|
622
622
|
```text
|
|
623
623
|
BaseSeleniumPage
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
│
|
|
631
|
-
query
|
|
624
|
+
├── driver
|
|
625
|
+
├── waiter
|
|
626
|
+
└── Getter
|
|
627
|
+
└── find(...)
|
|
628
|
+
│
|
|
629
|
+
query
|
|
632
630
|
```
|
|
633
631
|
|
|
634
632
|
In normal user code, the query API starts with:
|
|
@@ -685,13 +683,11 @@ The expected model is:
|
|
|
685
683
|
|
|
686
684
|
```text
|
|
687
685
|
load_url()
|
|
688
|
-
│
|
|
689
686
|
├── load the URL
|
|
690
687
|
├── wait until the page is ready
|
|
691
688
|
└── gather shared page data
|
|
692
689
|
|
|
693
690
|
data()
|
|
694
|
-
│
|
|
695
691
|
└── build data specific to the subclass
|
|
696
692
|
```
|
|
697
693
|
|
|
@@ -1243,7 +1239,6 @@ Both make also use of the [`pmt-tools`](https://gitlab.com/frederic-zinelli/pmt_
|
|
|
1243
1239
|
Selenium environment
|
|
1244
1240
|
↓
|
|
1245
1241
|
BaseSeleniumPage
|
|
1246
|
-
│
|
|
1247
1242
|
├── load URL
|
|
1248
1243
|
├── wait for readiness
|
|
1249
1244
|
├── gather data
|