Extend actor I but I not defined or not a function #4241
Replies: 2 comments 1 reply
-
Do you have the same issue with this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think I found the cuprite, when refactor as non arrow key function it works: Closing the thread then. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Here the situation, I try to create custom action for the actor by following the documentation (https://codecept.io/pageobjects/#actor), but I want to be able to call the custom action from another one.
Unfortunately, it errors with "I is not defined", which makes sense:
But when trying to call it with "this" it is not working either:
So I was wondering if I am doing something wrong or if this is just not possible.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions