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
Asked
Active
Viewed 37 times
-1
-
If possible add code apart of the question in text, not a screenshot or image. – treckstar Jun 26 '22 at 03:46
1 Answers
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