alttester / alttester/AltTester-Unity-SDK

Add overload to the FindObject command

Open
#1,678 1 comment 0 reactions 0 assignees View on GitHub
2.2.6 feature triaged
Dominant language
C#
Stars
121
Forks
24
PR merge metrics
No merged PRs in 30d

Description

## Description
Add an overload that takes a tuple like (By, value) as a locator so that we can save them in a test in the following way:
`private (By by, string value) startButtonLocator = (By.PATH, "//Content//Button_Primary"); `

## Additional info
It would be nice to save the locators in a POM and switch easily from `path` to `name` for example.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.