Open
Conversation
89fbb0b to
2ab993e
Compare
* for backwards compatibility * allow it silently, without direct mention in type hint * mark it as «can be deprecated
# Conflicts: # README.md
– in favor of have.script_returned
by disabling two files: wait.py and entity.py and some lines in other:D via `# type: ignore`
, SharedConfig and tuned to eliminate other warnings.
yet via some typing.cast...
CHORE: upgrade mypy action
+ refactored its tests + same fix (but without tests) for config.last_page_source
for compliance with other *_strategy options especially with teardown_driver_strategy...
+ fix all warnings
+ examples
+ DOCS: FAQ: How to simplify search by Test IDs? + [#505] TEST: utilize config.selector_to_by_strategy in pom example
+ TODO: implement pom-descriptor-like decorators to name objects returned from methods
* add docs/selene-quick-start-tutorial.md with images * add docs/selene-in-action-tutorial.md with images * add docs/selene-for-page-objects-guide.md with images * add docs/selene-cheetsheet.md * edit mkdocs.yml to include new articles * edit according to review
* [#552] DOCS: how to add chrome extension * [#552] DOCS: how to add chrome extension Style update * [#552] DOCS: how to add chrome extension Fixed .ctx -> .crx in example project structure Removed extra spacebars in H4 * [#552] DOCS: how to add chrome extension Updated H4 Moved a comment in the fixture code for better appearance
* CHORE: fix changed files
- Added clearer overview and main features section - Improved readability with better structure and table of contents - Enhanced examples with AJAX handling and Page Object Model - Clarified installation steps for both pre-release and stable versions - Updated migration guide for users transitioning between versions
* CHORE: build & deploy docs in master repo only * TESTS: core wait tests
- copy&paste Browser, Element, Collection into selene.web.*
- `core._browser.Browser` (that will be now a "core general context" and should work for all platforms, that's why we don't need the following...):
- remove:
- `execute_script`
- `save_screenshot`
- `last_screenshot`
- `save_page_source`
- `last_page_source`
- `close_current_tab`
- `clear_local_storage`
- `clear_session_storage`
- deprecate:
- `switch_to_next_tab`
- `switch_to_previous_tab`
- `switch_to_tab`
- `switch_to`
- extend web.Element with more web-specific commands
- element.shadow_root based on `weblement.shadow_root`
- wrapped as _SearchContext class object with only .element and .all methods
- collection.shadow_roots based on webelement.shadow_root
- element.frame_context
* add docs/selene-quick-start-tutorial.md with images * add docs/selene-in-action-tutorial.md with images * add docs/selene-for-page-objects-guide.md with images * add docs/selene-cheetsheet.md * edit mkdocs.yml to include new articles * edit according to review * DOCS: edit selene-for-page-objects
- extend web.Element with more web-specific commands
More commands among browser.element(selector).*
- `press_sequentially(text)`
- `select_all()`
- `drag_and_drop_to(target, _assert_location_changed=False)`
- with option to `.with(drag_and_drop_by_js=True).drag_and_drop_to(target)`
- `drag_and_drop_by_offset(x, y)`
- `drop_file(path)`
- `scroll_to_top()`
- `scroll_to_bottom()`
- `scroll_to_center()`
+ the corresponding methods built into web.Element
+ clean some tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.