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.
number, so that's why I want this. No trim, replace or other functions are on numbers, so an errror will be thrown while it bypass typescript checks.
I agree it's fine for us not to check other properties, but title is an important one, and it's extracted just into page object (so you realize this is important)
I alrady met 10+ reports about setting title to a non-syring value by mistake and got error
Description
There will be noob users who set titles like this, and
page.title
(withstring
type) will have other types, and this may break the application.Unless we set
page.title: unknown
, we should guard the types of it.Reproduction
Not needed
Used Package Manager
npm
System Info
.
The text was updated successfully, but these errors were encountered: