allow behat to query js editor selections