How can I run a test on a random Samsung device using LambdaTest?

What if I want to run the test on a specific brand of device, like Samsung, but I want LambdaTest to choose the device at random from any Samsung device?

Hi Helen,

To accomplish this, you can use regular expressions (regex) in the device name capabilities provided by LambdaTest. By specifying a regex pattern for the device name, you can instruct LambdaTest to select any Samsung device at random from their inventory. For example, if you want any Samsung device, you can use the regex pattern “Samsung.*”.

This will match any device name starting with “Samsung” and followed by any characters. LambdaTest will then retrieve a random Samsung device from their inventory for your test execution.