Support remote class configuration in webdriver mode #310