mirror of
https://github.com/appium/appium.git
synced 2026-10-26 10:47:45 +08:00
Merge pull request #83 from appium/isaac-session
Add capabilities to create session
This commit is contained in:
@@ -9,7 +9,7 @@ const METHOD_MAP = {
|
||||
GET: {command: 'getStatus'}
|
||||
},
|
||||
'/wd/hub/session': {
|
||||
POST: {command: 'createSession', payloadParams: {required: ['desiredCapabilities'], optional: ['requiredCapabilities']}}
|
||||
POST: {command: 'createSession', payloadParams: {required: ['desiredCapabilities'], optional: ['requiredCapabilities', 'capabilities']}}
|
||||
},
|
||||
'/wd/hub/sessions': {
|
||||
GET: {command: 'getSessions'}
|
||||
|
||||
@@ -38,7 +38,7 @@ describe('MJSONWP', () => {
|
||||
}
|
||||
var hash = shasum.digest('hex').substring(0, 8);
|
||||
// Modify the hash whenever the protocol has intentionally been modified.
|
||||
hash.should.equal('8c54fd6e');
|
||||
hash.should.equal('24791855');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user