We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7abb9b5 commit 4aed2bbCopy full SHA for 4aed2bb
1 file changed
test/browser_common.py
@@ -166,7 +166,7 @@ def get_safari_version():
166
def get_firefox_version():
167
if not is_firefox():
168
return UNSUPPORTED
169
- exe_path = shlex.split(EMTEST_BROWSER)[0]
+ exe_path = shutil.which(shlex.split(EMTEST_BROWSER)[0])
170
ini_path = os.path.join(os.path.dirname(exe_path), '../Resources/platform.ini' if MACOS else 'platform.ini')
171
# On Linux, Firefox system installation uses a specific directory structure,
172
# where platform.ini is not located in same directory as the browser executable.
0 commit comments