Skip to content

Commit 721eb26

Browse files
committed
extension not install issue fixed
1 parent e322621 commit 721eb26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Framework/Built_In_Automation/Web/Selenium/BuiltInFunctions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ def headless():
556556
browser in ("chrome", "microsoft edge chromium")
557557
):
558558
set_extension_variables()
559+
options.add_argument("--disable-features=DisableLoadExtensionCommandLineSwitch")
559560
options.add_argument(f"load-extension={aiplugin_path},{ai_recorder_path}")
560561
# This is for running extension on a http server to call a https request
561562
options.add_argument("--allow-running-insecure-content")

0 commit comments

Comments
 (0)