1.

I Need To Debug Appium, Is It Difficult?

Answer»

No really! Appium is a Node.js APPLICATION, so it is Javascript in the essence. The code is AVAILABLE on GitHub and can be downloaded in few seconds as it is small and not so complex. Depending on what you have to debug, you will probably need to go deeper in your debugging experience, however there are some key points where setting a breakpoint is always worth: the proxy component is worth a mention. In appium/lib/server/proxy.js you can SET a breakpoint in function doProxy(req,RES), that will be hit everytime commands are sent to platform-specific components to be translated into automation commands.

No really! Appium is a Node.js application, so it is Javascript in the essence. The code is available on GitHub and can be downloaded in few seconds as it is small and not so complex. Depending on what you have to debug, you will probably need to go deeper in your debugging experience, however there are some key points where setting a breakpoint is always worth: the proxy component is worth a mention. In appium/lib/server/proxy.js you can set a breakpoint in function doProxy(req,res), that will be hit everytime commands are sent to platform-specific components to be translated into automation commands.



Discussion

No Comment Found