Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web app in mac #127

Closed
CarlosNano opened this issue Mar 24, 2022 · 7 comments
Closed

Web app in mac #127

CarlosNano opened this issue Mar 24, 2022 · 7 comments
Labels
question Further information is requested

Comments

@CarlosNano
Copy link

CarlosNano commented Mar 24, 2022

Hi all

I'm trying to test a web app built with ionic, which is using Chromium in the background.

This are the capabilities I've set up:

            caps.setCapability("platformName", "mac");
            caps.setCapability("platformVersion", "12.2.1");
            caps.setCapability("automationName", "mac2");
            caps.setCapability("bundleId", "com.company.id");

If I set up this capabilities in the appium inspector, the app will will be launched but I can't inspect anything, even if I change the context.

Can I use this driver for webapps? if so, Am I missing something?

Thanks

@CarlosNano
Copy link
Author

So for example in the appium inspector, if I select:
image

This area will be selected

image

There is nothing there, there is not a hidden view or anything

@MikkelIJ
Copy link

Do you get any error like me when you just run appium from terminal ?
#128

@KazuCocoa
Copy link
Member

This driver does not support WebView context.
This driver works only when the app under test can work with XCTest framework by Apple. (Probably native apps?)

@CarlosNano
Copy link
Author

Oh that makes sense why it's not working.

Not sure which driver I can use in this case then?

Thanks

@mykola-mokhnach
Copy link
Contributor

Oh that makes sense why it's not working.

Not sure which driver I can use in this case then?

Thanks

If the webview provides any possibilities of debugging then it would be theoretically possible to use chromedriver to connect to it and automate using vanilla selenium. Otherwise 🤷

@KazuCocoa
Copy link
Member

I guess the ionic project address the possibility of testing with existing framework if it could like how to run tests with chromedriver.

@KazuCocoa KazuCocoa added the question Further information is requested label Mar 25, 2022
@CarlosNano
Copy link
Author

I guess that means that Appium doesn't support this kind of Apps

Thanks both for the answers,

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

No branches or pull requests

4 participants