try converting finicky test to selenium