Replies: 1 comment 2 replies
-
What locator? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to WebDriverIO.
I'm now dealing with an issue in which a locator contains the CSS property.
text-overflow: ellipsis;
This allows the text in the locator to fit inside the width.
As an example:
"Long live the king" is written on the locator.
The text will be displayed as "Long live t..." after using CSS text-flow.
My concern is, utilising webdriverIO typescript, is there any way to ensure that the option does not contain three dots? Using the CSS text-overflow property
or is there another way to deal with this?
FYI: This work is about a dropdown and a list on text init, and I need to test that the whole text is displayed or multiple dots are displayed.
Beta Was this translation helpful? Give feedback.
All reactions