Skip to content

Releases: saritasa-nest/pomcorn

0.8.3

20 Dec 03:32
Compare
Choose a tag to compare
0.8.3 Pre-release
Pre-release

Rename __parameters__ in ListComponent to __generic__parameters to avoid problems with Python build-in functions

Full Changelog: 0.8.2...0.8.3

0.8.2

18 Dec 04:41
767be78
Compare
Choose a tag to compare
0.8.2 Pre-release
Pre-release
  • Improve item class getting by @M1troll in #100
      • Add ability to specify TypeAlias as _item class and use ListComponent as a parameterized type

Other changes

Full Changelog: 0.8.1...0.8.2

0.8.1

25 Nov 09:20
409ee09
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

What's Changed

  • Improve getting item class in ListComponent by @M1troll in #98
    There were several cases where this didn't work correctly (for multiple generic variables and inheritance). Examples of such cases are presented in PR

Update dependencies

Full Changelog: 0.8.0...0.8.1

0.8.0

08 Jul 09:34
5d68fd1
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

What's Changed

  • Allow optional item_class in ListComponent by @M1troll in #74

    • Add ability to not specify item_class in ListComponent. Instead, it will be automatically filled with value passed in Generic[ListItemType].
    • Warning: The item_class specification is still available, but it is deprecated and will be removed soon.
  • Bump mypy from 1.10.0 to 1.10.1 by @dependabot in #72

  • Bump ipython from 8.25.0 to 8.26.0 by @dependabot in #73

Full Changelog: 0.7.5...0.8.0

0.7.5

25 Jun 04:58
Compare
Choose a tag to compare
0.7.5 Pre-release
Pre-release

What's Changed

  • Remove redundant call of scroll_to in PomcornElement.click().
    This is redundant, as webdriver by default scrolls to element before click docs.
  • Bump selenium from 4.21.0 to 4.22.0 by @dependabot in #71

Full Changelog: 0.7.4...0.7.5

0.7.4

20 Jun 05:51
Compare
Choose a tag to compare
0.7.4 Pre-release
Pre-release

Improve Page.click_on_page() method to click the page coordinates instead of offset relative to current mouse position.

Full Changelog: 0.7.3...0.7.4

0.7.3

19 Jun 06:33
Compare
Choose a tag to compare
0.7.3 Pre-release
Pre-release
  • Add ability to not specify app_root in Page.open_from_url() as in Page.open()

Full Changelog: 0.7.2...0.7.3

0.7.2

17 Jun 07:15
Compare
Choose a tag to compare
0.7.2 Pre-release
Pre-release

What's Changed

  • Improve Page.click_on_page method to click on tag

  • Improve Page.open_from_url to support kwargs

  • Fix \ related problems in Page._get_full_relative_url

  • Bump flake8 from 7.0.0 to 7.1.0 by @dependabot in #70

Full Changelog: 0.7.1...0.7.2

0.7.1

11 Jun 07:51
f89f9ab
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

What's Changed

  • Update base XPathLocator by @M1troll in #69:
    • Add ability to Element to specify simple and relative locators using the locator or relative_locator arguments, as in Component.init_element
    • Fix some possible xpath errors depending on empty locators queries and brackets

Full Changelog: 0.7.0...0.7.1

0.7.0

07 Jun 08:04
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

What's Changed

  • Add auto-scroll to element before click
  • Add method contains() to XPathLocator for search by contained text
  • Add page class name to PageDidNotLoadedError
  • Update diagrams with mermaid <https://mermaid.js.org/intro/>__
  • Add invocation inv docs.serve to run docs on localhost
  • Add small improvements by @M1troll in #66

Backwards incompatible changes in 0.7.0

  • Remove simple Component class

  • Rename ComponentWithBaseLocator to Component
    PR: #62

  • Rename Element class to PomcornElement

  • Add descriptor Element to simplify adding element-attributes to Pages
    and Components
    PR: #51

Updated dependencies

Full Changelog: 0.6.0...0.7.0