microsoft / playwright-testing-service

MIT License
70 stars 10 forks source link

Need a predefined profile for Firefox #80

Closed gyurik closed 7 months ago

gyurik commented 7 months ago

Currently Playwright cannot use any predefined browser profile. This makes big problem where the system needs a logon for using the system. It especially problematic on Azure itself with a TFA where the 2nd F is a human action with the MS Authenticator.

My request is: Playwright should use a preauthenticated profile for Firefox for being able to test such systems where login is mandatory and there is no way to enter the sign in information during an automated test.

With Robot Framework I can use a predefined profile for Firefox and the automation is not a problem with the system, which requires login at the start of the usage.

AB#1922447

puagarwa commented 7 months ago

@gyurik this should go into playwright open source framework repo https://github.com/microsoft/playwright