Menu item treated like a button
When an element has role="menuitem"
, now it will be treated like a button and listed as an option to click for AI, as well as be part of the button types list for us. See other roles that apply below:
- Button
- MenuItem
- Checkbox
- MenuItemCheckbox
- Radio
- MenuItemRadio
- ComboBox
You can find it in Settings >> Speed Optimizations:
Location
An example can be shown below:
command
result
Mobile camera (Android and SauceLabs)
We added the ability for customers to test taking pictures using the mobile camera on real devices (currently available for Android and Saucelabs only).
- Find the “Enable Camera Image Injection” SauceLabs option in Settings >> Integrations below the Enable SauceLabs checkbox. It disabled by default.
- Includes a link for details about how Camera Image Injection works in SauceLabs.
- Ways to add image: Stored value or link to the image.
- SauceLabs imposed limitations: JPEG and PNG format; up to 5MB.
- Command to use it:
set camera image to
Camera Injection Location
You can also check it in our official documentation: "set camera image to" command
You can find an example below:
with link
with stored value
result
Additional info:
Instrumentation on Sauce Labs Real Devices
Test Camera image capture and QR/Barcode scanning