nl_tokens: Wait attribute matches value
pl_tokens: async function waitAttributeToBe ( selector , key , value , timeout ) { return await this . waitUntil ( async ( ) => { const got = await this . element ( selector ) . getAttribute ( key ) return [ ] . concat ( value ) . some ( ( value ) => got === value || String ( got ) === <mask> ( value ) ) } , timeout , ` ${ key } \` ${ selector } \` \` ${ JSON . stringify ( value ) } \` ` ) }