selenium-query 0.2.0__tar.gz → 0.2.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.0 → selenium_query-0.2.1}/PKG-INFO +9 -9
- {selenium_query-0.2.0 → selenium_query-0.2.1}/README.md +8 -8
- {selenium_query-0.2.0 → selenium_query-0.2.1}/pyproject.toml +1 -1
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/__init__.py +1272 -2
- selenium_query-0.2.1/selenium_query/__version__.py +1 -0
- selenium_query-0.2.0/selenium_query/__version__.py +0 -1
- {selenium_query-0.2.0 → selenium_query-0.2.1}/LICENSE +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_any_all_getters.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_asserter_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_basics/__init__.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_basics/action_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_basics/base_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_basics/boolean_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_basics/generic_value_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_filter_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_mapper_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_negation_transmitter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_order_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_types_and_tools.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/_values_getter.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.1}/selenium_query/base_selenium_page.py +0 -0
- {selenium_query-0.2.0 → selenium_query-0.2.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.2.
|
|
3
|
+
Version: 0.2.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
|
|
@@ -755,45 +755,45 @@ class SearchPage(BaseSeleniumPage):
|
|
|
755
755
|
|
|
756
756
|
@classmethod
|
|
757
757
|
def get_address_from_class_url(cls, server_address:str) -> str:
|
|
758
|
-
|
|
758
|
+
'''
|
|
759
759
|
Builds the full address of the page to load, using the server address and cls.URL.
|
|
760
760
|
Called from `cls._load_url`.
|
|
761
761
|
`server_address` should end with a slash.
|
|
762
|
-
|
|
762
|
+
'''
|
|
763
763
|
|
|
764
764
|
|
|
765
765
|
@classmethod
|
|
766
766
|
def base_gather_data(cls) -> None:
|
|
767
|
-
|
|
767
|
+
'''
|
|
768
768
|
Module level data handling.
|
|
769
769
|
Called from `cls._load_url`.
|
|
770
770
|
|
|
771
771
|
WARNING: any information/data that would be stored at this point must be "attached"
|
|
772
772
|
to the current class directly (`SearchPage`, here), so that any subclass or instance
|
|
773
773
|
of a subclass can actually access the data.
|
|
774
|
-
|
|
774
|
+
'''
|
|
775
775
|
...
|
|
776
776
|
super.base_gather_data()
|
|
777
777
|
...
|
|
778
778
|
|
|
779
779
|
@classmethod
|
|
780
780
|
def gather_data(cls) -> None:
|
|
781
|
-
|
|
781
|
+
'''
|
|
782
782
|
Module level data handling, as a second entry point to tweak the logic differently if needed.
|
|
783
783
|
Called from `super.base_gather_data`.
|
|
784
784
|
|
|
785
785
|
WARNING: any information/data that would be stored at this point must be "attached"
|
|
786
786
|
to the current class directly (`SearchPage`, here), so that any subclass or instance
|
|
787
787
|
of a subclass can actually access the data.
|
|
788
|
-
|
|
788
|
+
'''
|
|
789
789
|
|
|
790
790
|
@classmethod
|
|
791
791
|
def _build_data(cls):
|
|
792
|
-
|
|
792
|
+
'''
|
|
793
793
|
Override cls._build_data() in subclasses to define data specific to THAT class (without
|
|
794
794
|
reloading the page).
|
|
795
795
|
Must be called from the `cls.data` fixture.
|
|
796
|
-
|
|
796
|
+
'''
|
|
797
797
|
```
|
|
798
798
|
|
|
799
799
|
|
|
@@ -737,45 +737,45 @@ class SearchPage(BaseSeleniumPage):
|
|
|
737
737
|
|
|
738
738
|
@classmethod
|
|
739
739
|
def get_address_from_class_url(cls, server_address:str) -> str:
|
|
740
|
-
|
|
740
|
+
'''
|
|
741
741
|
Builds the full address of the page to load, using the server address and cls.URL.
|
|
742
742
|
Called from `cls._load_url`.
|
|
743
743
|
`server_address` should end with a slash.
|
|
744
|
-
|
|
744
|
+
'''
|
|
745
745
|
|
|
746
746
|
|
|
747
747
|
@classmethod
|
|
748
748
|
def base_gather_data(cls) -> None:
|
|
749
|
-
|
|
749
|
+
'''
|
|
750
750
|
Module level data handling.
|
|
751
751
|
Called from `cls._load_url`.
|
|
752
752
|
|
|
753
753
|
WARNING: any information/data that would be stored at this point must be "attached"
|
|
754
754
|
to the current class directly (`SearchPage`, here), so that any subclass or instance
|
|
755
755
|
of a subclass can actually access the data.
|
|
756
|
-
|
|
756
|
+
'''
|
|
757
757
|
...
|
|
758
758
|
super.base_gather_data()
|
|
759
759
|
...
|
|
760
760
|
|
|
761
761
|
@classmethod
|
|
762
762
|
def gather_data(cls) -> None:
|
|
763
|
-
|
|
763
|
+
'''
|
|
764
764
|
Module level data handling, as a second entry point to tweak the logic differently if needed.
|
|
765
765
|
Called from `super.base_gather_data`.
|
|
766
766
|
|
|
767
767
|
WARNING: any information/data that would be stored at this point must be "attached"
|
|
768
768
|
to the current class directly (`SearchPage`, here), so that any subclass or instance
|
|
769
769
|
of a subclass can actually access the data.
|
|
770
|
-
|
|
770
|
+
'''
|
|
771
771
|
|
|
772
772
|
@classmethod
|
|
773
773
|
def _build_data(cls):
|
|
774
|
-
|
|
774
|
+
'''
|
|
775
775
|
Override cls._build_data() in subclasses to define data specific to THAT class (without
|
|
776
776
|
reloading the page).
|
|
777
777
|
Must be called from the `cls.data` fixture.
|
|
778
|
-
|
|
778
|
+
'''
|
|
779
779
|
```
|
|
780
780
|
|
|
781
781
|
|