Cosmetics firms including L’Oreal rival Estee Lauder (EL.N) and retailers like LVMH’s (LVMH.PA) Sephora are investing heavily in technology, in an age of selfies and beauty bloggers that has helped shift the industry onto the web,which involves pairing up with Facebook to roll out virtual tests for shoppers to see how they might look with different lipsticks or eye shadows

France’s L’Oreal, the world’s biggest cosmetics group, bought Canadian augmented reality and artificial intelligence specialist ModiFace in March.

It said on Thursday that the Toronto-based company had now teamed up with Facebook to develop augmented reality experiences on the platform for L’Oreal brands, starting with NYX and including Urban Decay, Lancome and Yves Saint Laurent.

Customers will eventually be able to try on anything from foundation shades to eyebrow shapes and hues, said L’Oreal’s chief digital officer Lubomira Rochet, adding that the virtual tests helped the company clinch sales.

“What we’ve seen on our sites is that when there is a virtual test facility, conversion rates increase significantly,” said Rochet.

Social media networks had become the biggest growth driver of web sales for L’Oreal in terms of attracting shopping traffic, though purchases are redirected to take place on brands’ own sites or third party online retailers, Rochet added.

The French company said e-commerce revenues reached 9.5 percent of all its sales in the first half of 2018, up from close to 5 percent three years ago.