For example, to accesshttps://example.com with the username "user1" and password "pass1", use the URLhttps://user1:pass1@example.com.
If this method doesn't work, you may be able to access it using the following steps:
1. Use the "Navigate to URL" command to access a URL with embedded username and password
2. Use the "Navigate to URL" command to access a URL without embedded username and password
If the steps above do not work, try inserting a "Wait for fixed seconds" command (set to approximately 5 seconds) before the second "Navigate to URL" command.
Supplementary Information
Character encoding
When certain characters (for example, /) are included in the URL, please replace / with %2F.
Limitations in desktop Safari
Only Safari on Desktop cannot be tested in this way. If you wish to do the Basic Authentication test on Safari on Desktop, please register your request on the MagicPod Product Portal. (Click here to see how to register)
However, if you select Mobile Emulation by Chrome as the device type to emulate an iPhone, testing with Basic Authentication is possible because the test runs on Chrome. For more details, please check Test a mobile website.