element is not visible on site using puppeteer

568 views Asked by At

A chat start button exist in site as shown below enter image description here

but while running automated script on puppeteer this button doesn't display. Even i used all kinds waits for it to load. as here below button doesn't appear

enter image description here

1

There are 1 answers

0
Muneeb Khan On BEST ANSWER

The element exist there. Probably UI of button is not appearing because of using delays or not rendering in given time but the element exist there.

Go to inspect and copy the unique identifier of "Start button" from normal browser(which is not running through automated script)

then use await page.click("button_Identifier"); and you will see start chat button has clicked and window moved to next step.