We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b10e1 commit 4f828d2Copy full SHA for 4f828d2
javascript/webdriver/test/atoms/element_test.html
@@ -210,7 +210,11 @@
210
211
function testShouldReturnTrueForSpellcheckUndefined() {
212
var el = document.getElementById('normal');
213
- assertEquals('true', webdriver.atoms.element.getAttribute(el, 'spellcheck'));
+ var defaultSpellcheck = 'false';
214
+ if (goog.userAgent.WEBKIT) {
215
+ defaultSpellcheck = 'true';
216
+ }
217
+ assertEquals(defaultSpellcheck, webdriver.atoms.element.getAttribute(el, 'spellcheck'));
218
}
219
220
var newLine = bot.userAgent.IE_DOC_PRE9 ? '\r\n' : '\n';
0 commit comments