I'm having trouble automating the login prompt as shown in the attached image. I've attempted to fill in both fields using WebdriverIO
but so far have been unsuccessful. I explored using alert methods like browser.sendAlertText()
, but none of them seem to work.
Here is the prompt image: https://i.sstatic.net/hI7CW.png
I came across a similar question regarding this issue here: How to fill login prompt with Webdriver IO?. However, the suggested solutions, such as using
browser.url(https://<username>:<password>@<url>)
or custom browser profiles, are not suitable for my current project.
Are there any other methods to automate this login prompt with WebdriverIO
? If so, what are they?
Perhaps there is an alternative solution that is compatible with WebdriverIO
but does not involve using it directly?