Skip to content

Conversation

al3xmeister
Copy link
Contributor

This PR contains extension methods for switching contexts and interacting with webviews in a .NET MAUI application using Appium.

Methods:

SwitchContextToWebview: Switches the Appium driver context to a webview context.
SwitchContextToNative: Switches the Appium driver context back to the native app context.
TapWebviewButtonByText: Finds and clicks a button within the webview based on its text content.
ScrollWebview: Scrolls the webview either down to the bottom or up to the top.
GetCurrentUri: Retrieves the current URL of the webview.

@jfversluis
Copy link
Owner

I guess this also enabled Blazor Hybrid apps to be tested? Thats pretty cool...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants