Basically, the code polls the DOM on a regular basis looking for the specified DOM element and it records the time when it becomes available and marks it with a vertical orange line in the waterfall. It also holds the end of the test until it becomes available (or times out).
Hi,
KaiBra forwarded this issue to me. Is there a way to debug/log/trace wptDriver?
In the source code if found methods like “WptTrace” and a “wpt.log” in “WptSettings::load”. Logging with WinDbg ist quite complicated due to tight system integration by dlls.
The trace messages are only viewable until WptDriver cleans up (WptDriverCore::CleanUp()). Trace messages I’m interested in are those from “WptHook.dll” (e.g. see below “WptTest::ProcessCommand”), when running Firefox (17 and up) tests. I’ve been trying for quite a long time, but couldn’t find any solution to let the WptTrace-Messages appear in DebugView / WinDbg. Creating own log files failed also.
Yes, they do. In DbgView make sure you have “Capture Global” checked. You will need to launch it “as administrator” if you are on Windows Vista or later.
wpthook.dll is injected into the browser process so you’ll be getting the messages from that process, not from the wptdriver process.