Playwright unable to click on KrpanoLayer

  • We are trying to click on a Krpano Layer, which is a child of a hotspot, using Playwright, however 1 out of 5 times the click is registered as a click on the panorama instead of click on the layer. The code for our layer is:

    We tried to click on .confirm-button container using await page.locator('.confirm-button').first().click({force: true}) as well as clicking to the center of the element using await page.mouse.click(x, y).

    Does anyone have any ideas about what might be causing this? We’re running krpano 1.21.2 , but have also tried it on other versions with no difference.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!