robotframework-seleniumtestability icon indicating copy to clipboard operation
robotframework-seleniumtestability copied to clipboard

Add an option to list wich element is waiting for

Open nantes44-github opened this issue 5 years ago • 1 comments
trafficstars

Hi,

It would be very intersting to have the ability to log or to get the detail of the reason why we are waiting during the execution of "Wait For Testability Ready".

Thanks.

nantes44-github avatar Nov 05 '20 16:11 nantes44-github

Depending on what you need, that should be at least partially possible. Set Testability Config has undocumented : verbose boolean .. If set to True, when asyncronous events that cause waiting, there will be a log entry in the browsers logs with [START] and [END] prefixes ..

For fine grained control, changes should happen in the upstream here: https://github.com/alfonso-presa/testability-browser-bindings/blob/master/lib/index.js

Currently im not 100% if that logging is available but providing that would be to just make a new build and release .. Want to try it out if it works ?

rasjani avatar Nov 06 '20 09:11 rasjani