Replies: 1 comment 1 reply
-
We definitely need to improve our docs, and your assumptions are correct. For posterity:
These options are accepted by more than just this SDK as well. It's on our radar to update our docs in the near future. 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
I would like to improve
Percy Docs
regardingstorybook
options.Environment
not relevant
Details
I'm trying to use
waitForTimeout
andwaitForSelector
and it's not clear the kind of values these parameters are expecting:timeout
expecting milliseconds or another time unit (by logic I guess is milliseconds)waitForSelector
? Does it support "complex" DOM selectors (bydata-attribute
for example), or only some basic selectors byid
and/orclassName
? (by logic I guess it supports any valid selector you can pass todocument.querySelector()
). Also, is it possible to waitFor a certain number of DOMElements which respond to the same selector?Context
#558
Beta Was this translation helpful? Give feedback.
All reactions