File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed
javascript/node/selenium-webdriver
java/src/org/openqa/selenium/firefox
py/selenium/webdriver/firefox Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -240,14 +240,9 @@ private static Stream<Executable> locateFirefoxBinariesFromPlatform() {
240
240
if (Files .isSymbolicLink (firefoxPath )) {
241
241
try {
242
242
Path realPath = firefoxPath .toRealPath ();
243
- File attempt1 = realPath .getParent ().resolve ("firefox" ).toFile ();
244
- if (attempt1 .exists ()) {
245
- executables .add (new Executable (attempt1 ));
246
- } else {
247
- File attempt2 = realPath .getParent ().resolve ("firefox-bin" ).toFile ();
248
- if (attempt2 .exists ()) {
249
- executables .add (new Executable (attempt2 ));
250
- }
243
+ File file = realPath .getParent ().resolve ("firefox" ).toFile ();
244
+ if (file .exists ()) {
245
+ executables .add (new Executable (file ));
251
246
}
252
247
} catch (IOException e ) {
253
248
// ignore this path
Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ Channel.RELEASE = new Channel(
796
796
* @see <https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly>
797
797
*/
798
798
Channel . NIGHTLY = new Channel (
799
- '/Applications/Firefox Nightly.app/Contents/MacOS/firefox-bin ' ,
799
+ '/Applications/Firefox Nightly.app/Contents/MacOS/firefox' ,
800
800
'Nightly\\firefox.exe'
801
801
)
802
802
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def _get_firefox_start_cmd(self):
162
162
start_cmd = self .which (ffname )
163
163
# use hardcoded path if nothing else was found by which()
164
164
if not start_cmd :
165
- start_cmd = "/Applications/Firefox.app/Contents/MacOS/firefox-bin "
165
+ start_cmd = "/Applications/Firefox.app/Contents/MacOS/firefox"
166
166
# fallback to homebrew installation for mac users
167
167
if not os .path .exists (start_cmd ):
168
168
start_cmd = os .path .expanduser ("~" ) + start_cmd
You can’t perform that action at this time.
0 commit comments