I am using Python bindings for Selenium WebDriver and Ghostdriver/Phantomjs in UI automation that I have developed. I was wondering if there was a way that when I send a request to the Ghostdriver service, I can somehow "stop" the execution of the ghostdriver code so that I could step through the code line by line, like in a debugger.
Is there a method to do this? The only thing I can think of is putting log statements into the ghostdriver source and compiling the phantomjs source, but that seems like a very unwieldy approach. Not sure I could even do that.