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
:
In the example below, the item named Purple
was previously considered a list item instead of a button, there for it was not prioritized as buttons and links are. Now, list items with the above mentioned roles assigned to them are also prioritized as buttons:
Command using the new settings:
click button "Purple"
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” option in
Settings
->Integrations
below the Enable SauceLabs checkbox. It is disabled by default.
- SauceLabs only allows users to apply images in JPEG or PNG formats that are up to 5MB.
- The new key phrase
set camera image to
will allow users to set the camera image. - The camera image can be set via stored values or URLs accessible to our servers.
set camera image to "https://www-example-url-accessible-to-server"
set camera image to stored value "variableWithImageFile"
See our official documentation for more information.