INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Helper for a common call sequence. @param feature the feature to check @return true if the currently emulated browser has this feature.
(final BrowserVersionFeatures feature)
| 2142 | * @return {@code true} if the currently emulated browser has this feature. |
| 2143 | */ |
| 2144 | public boolean hasFeature(final BrowserVersionFeatures feature) { |
| 2145 | return getPage().getWebClient().getBrowserVersion().hasFeature(feature); |
| 2146 | } |
| 2147 | |
| 2148 | private static final class CheckErrorHandler implements CSSErrorHandler { |
| 2149 | private CSSParseException error_; |
no test coverage detected