Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ElementLocator to replace findElement overloads #155

Merged

Conversation

tristanlabelle
Copy link
Contributor

This brings a few improvements:

  • Less code duplication
  • Separation of accessibility id support in the WinAppDriver module
  • Extensibility to other WebDriver backends
  • Easier to implement higher-level functions like expectElement discussed elsewhere.

Copy link
Contributor

@jeffdav jeffdav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

Sources/WebDriver/ElementLocator.swift Show resolved Hide resolved
@tristanlabelle tristanlabelle merged commit f578048 into thebrowsercompany:main Sep 24, 2024
2 checks passed
@tristanlabelle tristanlabelle deleted the ElementLocator branch September 24, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants