* Configures the given executor with Firefox-specific commands. * @param {!http.Executor} executor the executor to configure.
(executor)
| 470 | * @param {!http.Executor} executor the executor to configure. |
| 471 | */ |
| 472 | function configureExecutor(executor) { |
| 473 | executor.defineCommand(ExtensionCommand.GET_CONTEXT, 'GET', '/session/:sessionId/moz/context') |
| 474 | |
| 475 | executor.defineCommand(ExtensionCommand.SET_CONTEXT, 'POST', '/session/:sessionId/moz/context') |
| 476 | |
| 477 | executor.defineCommand(ExtensionCommand.INSTALL_ADDON, 'POST', '/session/:sessionId/moz/addon/install') |
| 478 | |
| 479 | executor.defineCommand(ExtensionCommand.UNINSTALL_ADDON, 'POST', '/session/:sessionId/moz/addon/uninstall') |
| 480 | |
| 481 | executor.defineCommand(ExtensionCommand.FULL_PAGE_SCREENSHOT, 'GET', '/session/:sessionId/moz/screenshot/full') |
| 482 | } |
| 483 | |
| 484 | /** |
| 485 | * Creates {@link selenium-webdriver/remote.DriverService} instances that manage |
no test coverage detected