P4USEBROWSER

Determines whether the client's browser opens automatically when using p4 login with an authentication Extension.

Usage notes

Used by Client? Used by Server? Command-Line Alternative Can be set in P4CONFIG file?

Yes

No

None

Yes

Value if not explicitly set

true, which allows the client's browser to open automatically when using p4 login with an authentication Extension, such as the one documented at https://github.com/perforce/helix-authentication-extension/blob/master/docs/Development.md

Example

A test might be to set P4USEBROWSER=false before invoking p4 login, then performing a verification before setting the variable back to true.