Every line of 'puppeteer waitfor' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
108 public async waitFor(selector: string | EvaluateFn, options?: WaitForSelectorOptions, ...args: Array): Promise { 109 await this.page.waitFor(selector, options, ...args); 110 }
54 public async waitForSelector(selector: string) { 55 return this.page.waitForSelector(selector) 56 }
22 public async click(element: ElementHandle): Promise { 23 await element.click(); 24 }
50 public async click(selector: string) { 51 return this.page.click(selector) 52 }
30 async function click(selector: string, options?: puppeteer.ClickOptions) { 31 await page.click(selector, options) 32 }
15 wait(elem) { 16 browser.waitForExist(elem); 17 }
22 public async click(): Promise { 23 return this.elementHandle.click(); 24 }
98 async findWithWait(element) { 99 try { 100 await this.driver.wait(webdriver.until.elementLocated(element), Twait); 101 return await this.driver.findElements(element); 102 } 103 catch (err) { 104 return null; 105 } 106 }
92 async findWithWait(element) { 93 try { 94 await this.driver.wait(webdriver.until.elementLocated(element), Twait); 95 return await this.driver.findElements(element); 96 } catch(err) { 97 return null; 98 } 99 }
21 waitFor(callback:Function):Promise { 22 throw new BaseException('NYI'); 23 }