check whether webview responds to selectAll before invoking selector