mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat: added more logging info for $ (#7344)
This commit is contained in:
parent
e9246089d5
commit
8f2bfed659
@ -681,6 +681,7 @@ export class Frame extends SdkObject {
|
||||
}
|
||||
|
||||
async $(selector: string): Promise<dom.ElementHandle<Element> | null> {
|
||||
debugLogger.log('api', ` finding element using the selector "${selector}"`);
|
||||
return this._page.selectors._query(this, selector);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user