Updated selenium activation test
(cherry picked from commit b521259)