Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit a964e50

Browse files
committed
fix: handle selenium-webdriver updated version
1 parent aa61bd8 commit a964e50

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ function getRequestlyExtension(browser) {
2929

3030
case CONSTANTS.BROWSERS.CHROME:
3131
case CONSTANTS.BROWSERS.EDGE:
32-
return encodeFile(
33-
path.join(
34-
__dirname,
35-
CONSTANTS.EXTENSION_FOLDER,
36-
CONSTANTS.REQUESTLY_CHROMIUM_EXTENSION
37-
)
32+
return path.join(
33+
__dirname,
34+
CONSTANTS.EXTENSION_FOLDER,
35+
CONSTANTS.REQUESTLY_CHROMIUM_EXTENSION
3836
);
3937

4038
default:

0 commit comments

Comments
 (0)