* Recommended way is to use set*Options where * is the browser(eg setChromeOptions) * * Sets the desired capabilities when requesting a new session. This will * overwrite any previously set capabilities. * @param {!(Object|Capabilities)} capabilities The desired capabilities for *
(capabilities)
| 327 | * @return {!Builder} A self reference. |
| 328 | */ |
| 329 | withCapabilities(capabilities) { |
| 330 | this.capabilities_ = new Capabilities(capabilities) |
| 331 | return this |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * Returns the base set of capabilities this instance is currently configured |