Is your feature request related to a problem? Please describe.
There are times where need to interact with the Playwright page to perform actions on parts of the page. For example, interact with elements inside a component or a PCF control.
Describe the solution you'd like
Provide a module to leverage playwright locator model to apply common actions. For example, consider the following actions
Navigate to a page
Wait for a locator to exist
Click a matching locator
Check if locator exists
Expose these actions as Power Fx actions that can be included in testSteps. For example, add support scenarios similar to the following:
Could make use of PlaywrightScript() however makers may not have code first skills and would require a Power Fx function to allow interaction with the test page.
Is your feature request related to a problem? Please describe.
There are times where need to interact with the Playwright page to perform actions on parts of the page. For example, interact with elements inside a component or a PCF control.
Describe the solution you'd like
Provide a module to leverage playwright locator model to apply common actions. For example, consider the following actions
Expose these actions as Power Fx actions that can be included in testSteps. For example, add support scenarios similar to the following:
TestEngine.PlaywrightAction("//button", "click"); TestEngine.PlaywrightAction("//button", "wait");
Describe alternatives you've considered
Could make use of PlaywrightScript() however makers may not have code first skills and would require a Power Fx function to allow interaction with the test page.
Additional context?
No response