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 11647cc commit 8301f18Copy full SHA for 8301f18
1 file changed
javascript/node/selenium-webdriver/test/actions_test.js
@@ -28,25 +28,11 @@ suite(function (env) {
28
describe('WebDriver.actions()', function () {
29
let driver
30
31
- before(async function () {
+ beforeEach(async function () {
32
driver = await env.builder().build()
33
})
34
35
- afterEach(async function () {
36
- try {
37
- await driver.actions().clear()
38
- } catch (e) {
39
- if (
40
- e instanceof error.UnsupportedOperationError ||
41
- e instanceof error.UnknownCommandError
42
- ) {
43
- return
44
- }
45
- throw e
46
47
- })
48
-
49
- after(function () {
+ afterEach(function () {
50
return driver.quit()
51
52
0 commit comments