| 12
 3
 4
 5
 6
 7
 8
 
 | it('should use my custom command', function () {browser.url('http://www.github.com')
 var result = browser.getUrlAndTitle('foobar')
 
 assert.strictEqual(result.url, 'https://github.com/')
 assert.strictEqual(result.title, 'GitHub · Where software is built')
 assert.strictEqual(result.customVar, 'foobar')
 })
 
 |