- implement async iterator for Elements
- tune linter
- should not wrap lines less then 80
- even if few calls with then
- should wrap lines more than 79
- should not wrap lines less then 80
- change in Element: element(number_: number) to element(index: number)
- can we eliminate cycle dependency in Element and Elements?
- refine params order in Element, Elements
- refactor from Stage to BrowserContext as wrapper over playWright context
- fixed indexes for elements.$(index) so it now starts from 0
- internal refactorings
- rearranged parameters of Element, Elements
- now options/config is a second param, the locator is first
- removed browser, context and page from Configuration
- added page as first main param to Stage
- renamed Stage to UserPage
- rearranged parameters of Element, Elements
- set target in tsconfig to "es5"
- added
element.parent
getter - added
have.attribute
condition
- removed stages manager aka 'Director'
- created single configuration entity in Stage
- added conditions
have.exactText
&have.element
- renamed long
element(s)
method names to$($)
for now - added
element.setValue
method which isclear + fill
- fixed element and elements toString
- fixed missing async/awaits
- made
goto
waitable
- added elements to lib index.ts
- tuned project setup
- switch from jasmine to jest
- switch from tslint to eslint
- refactor tsconfigs
- remove test coverage tools
- TBD
- added Element#fill(value), hover
- moved Located to lib/experimental
- let's forget about it for now and stick to classic Element + Elements (aka Collection)
- added element and elements instead of earlier $ in main api
- added Elemment and Elements
- added Element#click, doubleClick, contextClick, should
- added to Elements:
element(numberStartingFromOne)
first
(alias forelement(1)
)by
(akafilteredBy
from SelenideJs),firstBy
(akaelementBy
from SelenideJs)should(condition)
- added have.
- text, no.text
- texts, no.texts
- cssClass, no.cssClass
- added be.
- visible, not.visible
goto(url)
$
to represent located element or collection of elementsstage
to keep all global contexts, options, etc...- general waiting for entities
- via
new Wait(entity).for({toString: () => 'description', call: entity => someCodeOnEntityToWait() })
- with some needed callables
- via
- Located class as draft of Lazy wrapper over locating both element and collection
- just a dummy package