Comments for New Context

Topic for comments about Browser library keyword New Context

The reduceMotion argument mentioned in document should probably be reducedMotion.

I made an enhancement request #2215 on the recordVideo argument of New Context and New Persistent Context keywords, and how they should “return” the full path as a string or Path-object in every case, not only in some cases.

I can’t use variables with httpCredentials, is there any bug?, the logs show me the actual valid credentials as strings, but in page I get “Unauthorized”.

${username}=    Get Environment Variable    secretUsername
Log    ${username}
${password}=    Get Environment Variable    secretPassword
Log    ${password}
New Context    httpCredentials={'username':'$username','password':'$password'}

Hi @Hkoup,

${username} not $username in Robot Framework

Dave.

Hi @damies13 , I can’t assign ${username} in httpCredentials, according to documentation I need to use $username.

If I use ${username} I get an error (that stops execution) with the message: "Direct assignment of values as 'httpCredentials' is deprecated. Use special variable syntax to resolve variable. Example $var instead of ${var}"