-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
- Playwright Version: 1.0.2
- Operating System: Mac
- Node version: 10.15.2
- Browser: chrome (tried chrome only)
I am migrating tests from Puppeteer to use Playwright.
waitUntilAppears: async function (selector, timeoutTime) {
let timeout_updated = await (typeof timeoutTime === 'undefined' ? TIMEOUT : timeoutTime);
console.log(selector);
console.log(timeout_updated);
await page.waitForSelector(selector, {
timeout: timeout_updated * 1000,
state: 'visible'
});
},When this method is called, it waits for waiting for selector "[visible] .arc-tree-node". Seems like the selector needs to be only .arc-tree-node and not prefixed with [visible]. Because, if i searc the selector in chrome console - [visible] .arc-tree-node, i dont find anything.
Any pointers ?
Metadata
Metadata
Assignees
Labels
No labels
