Skip to content

1#1

Open
arootik wants to merge 868 commits intoarootik:masterfrom
yashaka:master
Open

1#1
arootik wants to merge 868 commits intoarootik:masterfrom
yashaka:master

Conversation

@arootik
Copy link
Owner

@arootik arootik commented Sep 30, 2021

No description provided.

yashaka and others added 28 commits March 30, 2023 15:58
* for backwards compatibility
* allow it silently, without direct mention in type hint
* mark it as «can be deprecated
– 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...
+ refactored its tests
+ same fix (but without tests) for config.last_page_source
for compliance with other *_strategy options
especially with teardown_driver_strategy...
yashaka and others added 30 commits July 23, 2024 00:01
+ 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
+ reuse mixins in core.Element, core.All_, core.Client (new name for core.Context)
+ break down entity.py into separate modules per actual entity implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.