-1

Here I'm trying to implement Puppeteer with mendix for UI automation, But While selecting ID as locator it is changing dyanamically, how I can change logic for it. enter image description here

1 Answers1

0

I think you can use selector for some of the static part. For example like

await page.waitForSelector('[id*="LoginModule.Login"]');

For more detail maybe can read this link https://www.angularfix.com/2022/04/puppeteer-select-element-id-where.html