Add Certificate to Browser Test

Hi,

our test systems have been switched to HTTPS and require certain certificates provided for browser testing.

How can I provide ca-bundle or trusted certificates browser tests? Playwright seem to have an argument for that in its context class, but I don’t know how to provide it to Browser library.

Regards,
Markus

Is available in the next release https://github.com/MarketSquare/robotframework-browser/pull/3885

2 Likes

That’s a quick fix! Already fixed 2 days before I even ran in to the issue :sweat_smile::sweat_smile::sweat_smile:

Great job!! Thank you!!!

1 Like

So apparently @aaltat is a time traveller, he saw this thread and went back into the past to fix it before it was an issue :rofl:

Now the secret is out can you share how to time travel so I can do the same thing :crossed_fingers:

2 Likes

I can not take the credit, the major part of the work was done in Initial support for new_context clientCertificates by okraus-ari · Pull Request #3859 · MarketSquare/robotframework-browser · GitHub I just ironed out one testing issue in my PR.

In any case thank you for the nice words.

2 Likes