Hi,
Thanks for your answer.
Unfortunately it's not so simple ;)
I have a progress bar in my app. When progress bar is displayed Selenide can click on any element on a page but there is no effect of this click.
So before I can perform click on any element I have to chack if progress bar is not exist. I can do it before every click() but imho a better solution is override click method.
How can I do it?
Regards,
Maciek
W dniu środa, 11 stycznia 2017 12:24:34 UTC+1 użytkownik Andrei Solntsev napisał:
> Hi Maciek!
> Yes, you can override method click, but in your case it's not needed, because method click() does check for element existence and visibility.
>
>
> On Jan 11, 2017 11:23 AM, <
macie...@gmail.com> wrote:
> Hi,
>
> I have to check if some element exist on a page before every click().
>
> Is there possible to modify/override Selenide click() method to force it to call a method which check if element exists and then make a click?
>
>
>
> Regards,
>
> Maciek
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "selenide" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to
selenide+u...@googlegroups.com.