Verify that we can select option using JS (cherry picked from commit 1ce9bbdd6dcf0f1634014e57d700b697635a79d8)