test webpage switch