fix: createConnection() via public API (#384)
Fixes https://github.com/microsoft/playwright-mcp/issues/382
This commit is contained in:
parent
75f74a54bc
commit
65716b60dd
4 changed files with 48 additions and 6 deletions
|
|
@ -14,10 +14,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Connection } from './connection.js';
|
||||
import { Connection, createConnection as createConnectionImpl } from './connection.js';
|
||||
|
||||
import type { Config } from '../config.js';
|
||||
|
||||
export async function createConnection(config: Config = {}): Promise<Connection> {
|
||||
return createConnection(config);
|
||||
return createConnectionImpl(config);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue