* Configures the given executor with Firefox-specific commands. * @param {!http.Executor} executor the executor to configure.
(executor)
| 376 | * @param {!http.Executor} executor the executor to configure. |
| 377 | */ |
| 378 | function configureExecutor(executor) { |
| 379 | executor.defineCommand(ExtensionCommand.GET_CONTEXT, 'GET', '/session/:sessionId/moz/context') |
| 380 | |
| 381 | executor.defineCommand(ExtensionCommand.SET_CONTEXT, 'POST', '/session/:sessionId/moz/context') |
| 382 | |
| 383 | executor.defineCommand(ExtensionCommand.INSTALL_ADDON, 'POST', '/session/:sessionId/moz/addon/install') |
| 384 | |
| 385 | executor.defineCommand(ExtensionCommand.UNINSTALL_ADDON, 'POST', '/session/:sessionId/moz/addon/uninstall') |
| 386 | |
| 387 | executor.defineCommand(ExtensionCommand.FULL_PAGE_SCREENSHOT, 'GET', '/session/:sessionId/moz/screenshot/full') |
| 388 | } |
| 389 | |
| 390 | /** |
| 391 | * Creates {@link selenium-webdriver/remote.DriverService} instances that manage |
no test coverage detected