Skip to content

Commit a42fa87

Browse files
committed
Delete dead code path.
Missed in f96df28
1 parent f96df28 commit a42fa87

File tree

1 file changed

+0
-4
lines changed
  • javascript/node/selenium-webdriver/firefox

1 file changed

+0
-4
lines changed

javascript/node/selenium-webdriver/firefox/binary.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ Binary.prototype.addArguments = function(var_args) {
186186
* started subprocess.
187187
*/
188188
Binary.prototype.launch = function(profile) {
189-
if (this.command_) {
190-
throw Error('Firefox is already running');
191-
}
192-
193189
var env = {};
194190
Object.keys(this.env_).forEach(function(key) {
195191
env[key] = this.env_[key];

0 commit comments

Comments
 (0)