Skip to content

Commit 0a4f3c3

Browse files
committed
[js] Update a test to only check the error type, as the error message will
differ by driver implementation
1 parent 4d604a6 commit 0a4f3c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

javascript/node/selenium-webdriver/test/execute_script_test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,6 @@ test.suite(function(env) {
343343
fail('it should have timed out');
344344
}).catch(function(e) {
345345
assert(e.name).equalTo('ScriptTimeoutError');
346-
assert(e.message).contains('Timed out waiting for async script \
347-
result after');
348346
});
349347
});
350348

0 commit comments

Comments
 (0)