@@ -192,7 +192,7 @@ test('the browser gateway forwards snapshot click and type', async () => {
|
||||
assert.equal(tools[0].name, 'browser');
|
||||
assert.equal(tools[0].permission, 'read');
|
||||
assert.deepEqual(tools[0].parameters.properties.action.enum, ['navigate', 'snapshot', 'click', 'type', 'press', 'scroll', 'wait']);
|
||||
assert.match(tools[0].description, /same Playwright session/);
|
||||
assert.match(tools[0].description, /duckduckgo\.com\/\?q=/);
|
||||
assert.match(tools[0].description, /refs change/);
|
||||
await tools[0].execute({ action: 'snapshot' });
|
||||
await tools[0].execute({ action: 'click', ref: '1' });
|
||||
|
||||
Reference in New Issue
Block a user