Class: CssLocator
@atomic-testing/core.CssLocator
Hierarchy
-
CssLocator
Constructors
constructor
• new CssLocator(selector
, initializeValue?
): CssLocator
Parameters
Name | Type |
---|---|
selector | string |
initializeValue? | Partial <CssLocatorInitializer > |
Returns
Defined in
packages/core/src/locators/CssLocator.ts:18
Properties
_relativePosition
• Private
_relativePosition: LocatorRelativePosition
= LocatorRelativePosition.Descendent
Defined in
packages/core/src/locators/CssLocator.ts:14
_source
• Private
Optional
_source: CssLocatorSource
Defined in
packages/core/src/locators/CssLocator.ts:16
_type
• Private
_type: LocatorType
= 'css'
Defined in
packages/core/src/locators/CssLocator.ts:15
selector
• Readonly
selector: string
Defined in
packages/core/src/locators/CssLocator.ts:19
Accessors
complexity
• get
complexity(): LocatorComplexity
Returns
LocatorComplexity
Defined in
packages/core/src/locators/CssLocator.ts:52
relative
• get
relative(): LocatorRelativePosition
Returns
Defined in
packages/core/src/locators/CssLocator.ts:28
source
• get
source(): Optional
<CssLocatorSource
>
Returns
Optional
<CssLocatorSource
>
Defined in
packages/core/src/locators/CssLocator.ts:36
type
• get
type(): LocatorType
Returns
Defined in
packages/core/src/locators/CssLocator.ts:32
Methods
chain
▸ chain(...locatorsToAppend
): PartLocator
Parameters
Name | Type |
---|---|
...locatorsToAppend | PartLocator [] |
Returns
Defined in
packages/core/src/locators/CssLocator.ts:40
clone
▸ clone(override?
): CssLocator
Parameters
Name | Type |
---|---|
override? | Partial <CssLocatorInitializer > |