fix stub selenium test

issue #610