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

How to capture @FindBy WebElementFacade pagefactory event using Serenity #3278

Open
Khalith-Basha opened this issue Oct 3, 2023 · 0 comments

Comments

@Khalith-Basha
Copy link

Khalith-Basha commented Oct 3, 2023

I need to check some conditions before every @findby WebElementFacade. Can this be implemented with the help of Serenity?
Could you please help to provide an example with a listener without a screenplay?
Also, StepListener is not meeting my requirements. I would like to capture @findby events.

public class CustomStepListener implements WebDriverListener {}

@Khalith-Basha Khalith-Basha changed the title How to set the WebDriverEventListerner using Serenity How to use WebDriverEventListerner using Serenity Oct 3, 2023
@Khalith-Basha Khalith-Basha changed the title How to use WebDriverEventListerner using Serenity How to use WebDriverListener using Serenity Oct 4, 2023
@Khalith-Basha Khalith-Basha changed the title How to use WebDriverListener using Serenity How to capture @FindBy pagefactory event using Serenity Oct 7, 2023
@Khalith-Basha Khalith-Basha changed the title How to capture @FindBy pagefactory event using Serenity How to capture @FindBy WebElementFacade pagefactory event using Serenity Oct 7, 2023
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