-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Open
Labels
A:monitorIssues or PRs related to monitorsIssues or PRs related to monitorsfeature-requestRequest for new features to be addedRequest for new features to be addedtype:enhance-existingfeature wants to enhance existing monitorfeature wants to enhance existing monitor
Description
⚠️ Please verify that this feature request has NOT been suggested before.
- I checked and didn't find similar feature request
🏷️ Feature Request Type
Other
🔖 Feature description
We have multiple angular sites, we can monitor with status codes, but it would be better to check for certain keywords. The normal keyword monitor is of no use - couse the whole page is rendered by javascript.
The Browser Engine Monitor-Typ shows a screenshot which is a good conformation, but doesnt get auto triggered if the page is not rendered at all or with an error.
✔️ Solution
Allow Keyword lookup in rendered dom tree.
Looking into the used library playwright it should be rather easy to integrate (but I'm no python or javascript developer):
await expect(page.getByText('Welcome, John')).toBeVisible();
see https://playwright.dev/docs/locators#locate-by-text
❓ Alternatives
nothing comes to mind - if you have an alternative idea, please let me know.
📝 Additional Context
No response
kaystrobach, mueller-webservice, sscotth, beanaroo, nchevsky and 2 more
Metadata
Metadata
Assignees
Labels
A:monitorIssues or PRs related to monitorsIssues or PRs related to monitorsfeature-requestRequest for new features to be addedRequest for new features to be addedtype:enhance-existingfeature wants to enhance existing monitorfeature wants to enhance existing monitor