How to handle Camera pop-ups on Chrome in pytest?

How to handle Camera pop ups on Chrome in pytest?

Hi Mark!

To handle Camera pop-ups on Chrome in pytest, you need to add the Chrome options as given below:

Chrome_Options options = new Chrome_Options();
options.add_Arguments("use-fake-device-for-media-stream");
options.add_Arguments("use-fake-ui-for-media-stream");