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

Add possibility to map action attributes to implementation class constructor parameters #8

Open
tobiasstamann opened this issue Dec 5, 2024 · 0 comments

Comments

@tobiasstamann
Copy link
Contributor

After reworking the mechanism how Action annotation can be defined it might be usefull to be able to map annotation attributes to constructor parameters of the impelemting class.

For example the WriteAction could have a parameter configuring if inpiut field should be cleared or just to append the text.

This could be done by introduce a mapping mechanism.

At the moment the mapping is done in a fix way:

For Actions placeable on methods:
WebDriver driver, LocatorCondition sideCondition

For Actions placeable on method parameters:
WebDriver driver, LocatorCondition sideCondition, String parameter

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

No branches or pull requests

1 participant