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? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions