ProgressBarElement
Playwright element wrapper for<vaadin-progress-bar> supporting value/min/max setters and assertions and indeterminate state.
Component Tag
vaadin-progress-bar
Implements
HasThemeElement- Theme variant supportHasStyleElement- CSS class and style management
Constructor
Locator
required
Playwright locator for the
<vaadin-progress-bar> elementProperty Methods
getValue
Current numeric value parsed fromaria-valuenow.
setValue
Set the progress bar value.double
Progress value to set
getMin
Get the minimum value.setMin
Set the minimum value.double
Minimum value to set
getMax
Get the maximum value.setMax
Set the maximum value.double
Maximum value to set
isIndeterminate
Whether the bar is indeterminate.setIndeterminate
Set the indeterminate state.boolean
Whether to show indeterminate state
Assertion Methods
assertValue
Assert that the numeric value matches.Double
Expected value, or null to assert undefined
assertMin
Assert that min matches the expected value.double
Expected minimum value
assertMax
Assert that max matches the expected value.double
Expected maximum value