[js] Fix builder test
@@ -21,13 +21,14 @@ const assert = require('assert')
const chrome = require('../chrome')
const edge = require('../edge')
+const error = require('../lib/error')
const firefox = require('../firefox')
const ie = require('../ie')
const safari = require('../safari')
const test = require('../lib/test')
const { Browser } = require('../lib/capabilities')
const { Pages } = require('../lib/test')
-const { Builder } = require('../../selenium-webdriver/index')
+const { Builder, Capabilities } = require('..')
test.suite(function (env) {
const BROWSER_MAP = new Map([
@@ -92,7 +93,6 @@ test.suite(function (env) {
async function getCaps(driver) {
return driver.getCapabilities();
}
-})
describe('Builder', function () {
describe('catches incorrect use of browser options class', function () {
@@ -120,3 +120,4 @@ describe('Builder', function () {
test('safari.options', safari.Options)
})
})
+})
\ No newline at end of file
