You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
grabAttributeFrom returns just a part of element attribute #5371
I'm trying to return and assert the element style, which looks like that: <div class="carousel-slides" style="transform: translateX(-200%);">
... but the call styleBefore = await I.grabAttributeFrom(selectors.index.homeSection.carouselSlides, 'style');
... finishes with value 'transform' and everything behind, including ":", is not returned, exactly the call of console.log('LOG: styleBefore:', styleBefore );
... produces this: > LOG: styleBefore: { '0': 'transform' }
... so I cannot get to the value and am practically unable to scan what picture is displayed on the carousel.
As I control the codebase, I added an attribute slide="" for testability, which reflects the slide number... and this works well, but complicated values with ":" or space make a problem.
changed the title [-]grabAttributeFrom returns just a part of element[/-][+]grabAttributeFrom returns just a part of element attribute[/+]on Jan 8, 2026
Activity
[-]grabAttributeFrom returns just a part of element[/-][+]grabAttributeFrom returns just a part of element attribute[/+]github-actions commentedon Apr 10, 2026
This issue is stale because it has been open for 90 days with no activity.