Skip to content

Commit 10ba50a

Browse files
committed
cleanup
1 parent 4634f88 commit 10ba50a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/run.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#! /usr/bin/env node
22
/* eslint-disable-next-line no-unused-vars */
33
import serve from "./server.mjs";
4-
import { Builder, Capabilities, Browser, logging} from "selenium-webdriver";
4+
import { Builder, Capabilities} from "selenium-webdriver";
55
import commandLineArgs from "command-line-args";
66
import commandLineUsage from "command-line-usage";
7-
import assert from "assert";
87

98
const optionDefinitions = [
109
{ name: "browser", type: String, description: "Set the browser to test, choices are [safari, firefox, chrome]. By default the $BROWSER env variable is used." },
@@ -77,13 +76,8 @@ const PORT = options.port;
7776
const server = await serve(PORT);
7877

7978
async function testEnd2End() {
80-
var pref = new logging.Preferences();
81-
pref.setLevel('browser', logging.Level.ALL);
82-
pref.setLevel('driver', logging.Level.ALL);
83-
pref.setLevel('performance', logging.Level.ALL);
8479
const driver = await new Builder()
8580
.withCapabilities(capabilities)
86-
.setLoggingPrefs(pref)
8781
.build();
8882
let results;
8983
try {

0 commit comments

Comments
 (0)