Adds polling stopper function and browser tests.