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

Executing the Appium Driver in debug mode on VSCode. #64

Open
ghost opened this issue Sep 13, 2023 · 3 comments
Open

Executing the Appium Driver in debug mode on VSCode. #64

ghost opened this issue Sep 13, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 13, 2023

Hey, I'm trying to implement the getText() method for the RokuDriver, wanted to know if there were any steps to execute the codebase in debug mode after adding breakpoints on certain lines on VSCode to understand the codeflow.

I'm completely new to implementing API's on a driver level, so would appreciate any help or steps to understand the code.

I've run npm run test:e2e but I'm not able to get the execution to stop at the required line.

@jlipps
Copy link
Collaborator

jlipps commented Sep 15, 2023

When you say implementing the getText method, you mean you would like to contribute this implementation to the project? That would be great!

I don't really use VSCode so not sure, but I believe there is a way to set breakpoints in the driver code and it will drop you into a node debugger when you run it from the CLI.

@ghost
Copy link
Author

ghost commented Sep 20, 2023

Hey appreciate the response, currently I'm trying to get it to work for how I need it but if it does turn out to be feasible then I'll definitely raise a PR for it here!

I will look into that, what IDE do you use for developing new functionalities for the driver? I don't mind switching over if it makes understanding the code simpler.

@jlipps
Copy link
Collaborator

jlipps commented Sep 28, 2023

I just use vim 🤷

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