alttester / alttester/AltTester-Unity-SDK

Add overload to the FindObject command

未关闭
#1,678 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
2.2.6 feature triaged
主要语言
C#
星标
121
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

## 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。