-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Why must set the webdriver.gecko.driver system property? #4408
Comments
Hi @rkrisztian I don't have any experience with RHEL 7, but looking at the error that is thrown and the site that is shown in the error you should take a look at this
System.setProperty("webdriver.gecko.driver", "/home/user/bin"); Can you please check the provided info and let us know if that works for you? |
Hi, @wswebcreation, I hope it's clear that my real problem is that I shouldn't have to care about the Regardless, the following also works:
Then I don't need the |
I just also came to the same conclusion that this is not good. Protractor should be able to get this done. With Chrome, we let users set chromeDriver in the configuration file and the local driver will use it...if not we check the webdriver-manager/selenium folder. Proposed idea to fix this: #4411 I think I can fix this now. I've been meaning to have a distraction from writing my book. |
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder closes angular#4408 and closes angular#4411.
Huzzah! PR in. |
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder closes angular#4408 and closes angular#4411.
Tnx @cnishina , Didn't saw that, sorry |
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder - Fix transpile errors in locator. Missing toString in ProtractorLocator interface - Fix transpile errors in element. Cast wdpromise.Promise<{}> to wdpromise.Promise<T> closes angular#4408 and closes angular#4411.
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder - Fix transpile errors in locator. Missing toString in ProtractorLocator interface - Fix transpile errors in element. Cast wdpromise.Promise<{}> to wdpromise.Promise<T> closes angular#4408 and closes angular#4411.
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder - Fix transpile errors in locator. Missing toString in ProtractorLocator interface - Fix transpile errors in element. Cast wdpromise.Promise<{}> to wdpromise.Promise<T> closes angular#4408 and closes angular#4411.
- Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use string[] over Array<string> in the configParser.ts. - Add functionality to addDefaultBinaryLocs_ to use the geckoDriver value set in the config or to check locally in the webdriver-manager/selenium folder. - Fix transpile errors in locator. Missing toString in ProtractorLocator interface. - Fix transpile errors in element. Cast wdpromise.Promise<{}> to wdpromise.Promise<T>. - xit spec/basic/action_spec.js based on [selenium-webdriver issue angular#3693](SeleniumHQ/selenium#3693). Added a // TODO comment to remove xit when selenium-webdriver resolves issue. closes angular#4408 and closes angular#4411.
…ig (#4412) - Add gecko driver as configuration option to be used in the local driver provider. - Nit fixes to use `string[]` over `Array<string>` in the configParser.ts. - Add functionality to `addDefaultBinaryLocs_` to use the `geckoDriver` value set in the config or to check locally in the `webdriver-manager/selenium` folder. - Fix transpile errors in locator. Missing toString in ProtractorLocator interface. - Fix transpile errors in element. Cast wdpromise.Promise<{}> to wdpromise.Promise<T>. - xit spec/basic/action_spec.js based on [selenium-webdriver issue #3693](SeleniumHQ/selenium#3693). Added a // TODO comment to remove xit when selenium-webdriver resolves issue. closes #4408 and closes #4411.
Bug report
6.10.3
5.1.2
4.2.6
Firefox 52.2.0 (64-bit), Google Chrome 59
RHEL 7
When I specify no
jvmArgs
in the configuration file, I get:Otherwise everything is OK and tests are executed:
But specifying the full path to the GeckoDriver defeats the purpose of the webdriver-manager which should just provide this setting for me, including whatever version is available. I shouldn't be setting this
jvmArg
property, it doesn't make any sense. As we don't do the same with Chrome, which just works.I'm using Angular CLI 1.2.0, and the developers there provide no support in this regard, so I came here.
The text was updated successfully, but these errors were encountered: