enriched IExecutor with ability to execute a predicate script for a given amount of time for example asses whether all ajax calls are completed