(In reply to Julian Descottes [:jdescottes] from comment #4) > Considering that marionette is used by many test harness for Firefox, will we have to pass `--enable-webdriver` anywhere we want to run tests? If yes, I wonder if it's actually worth exposing, people might wonder why they have to enable webdriver just for running regular test suites. Oh, no. Sorry when I was unclear. These are actually build config flags that you set via `ac_add_options`. But I was also wrong with the names. So it should be `--disable-webdriver` and `--disable-cdp`, with both enabled by default. If specified in a `mozconfig` the appropriate files won't be added to the build. Hereby CDP would require WebDriver to be enabled. Here an example for e.g Thunderbird: ``` ac_add_options --enable-application=comm/mail ac_add_options --enable-artifact-builds ac_add_options --disable-cdp ``` Starting Firefox once build is done as usual. Only with the `--remote-debugging-port` command line argument the Remote Agent component will be startup. Geckodriver will do that transparently. I hope that clarifies the confusion that you had.
Bug 1695031 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Julian Descottes [:jdescottes] from comment #4) > Considering that marionette is used by many test harness for Firefox, will we have to pass `--enable-webdriver` anywhere we want to run tests? If yes, I wonder if it's actually worth exposing, people might wonder why they have to enable webdriver just for running regular test suites. Oh, no. Sorry when I was unclear. These are actually build config flags that you set via `ac_add_options`. But I was also wrong with the names. So it should be `--disable-webdriver` and `--disable-cdp`, with both enabled by default. If specified in a `mozconfig` the appropriate files won't be added to the build. Hereby CDP would require WebDriver to be enabled. Here an example for e.g Thunderbird: ``` ac_add_options --enable-application=comm/mail ac_add_options --enable-debug ac_add_options --disable-cdp ``` Starting Firefox once build is done as usual. Only with the `--remote-debugging-port` command line argument the Remote Agent component will be startup. Geckodriver will do that transparently. I hope that clarifies the confusion that you had.