alttester / alttester/AltTester-Unity-SDK

Add overload to the FindObject command

Đang mở
#1,678 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
2.2.6 feature triaged
Ngôn ngữ chính
C#
Star
121
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.