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

universal-xml plugin issue with webview mode #20060

Open
3 tasks done
d4v1dk0n7 opened this issue May 2, 2024 · 7 comments
Open
3 tasks done

universal-xml plugin issue with webview mode #20060

d4v1dk0n7 opened this issue May 2, 2024 · 7 comments
Labels

Comments

@d4v1dk0n7
Copy link

Do I have the most recent component updates?

  • I use the most recent available driver/plugin and server versions

Is the component officially supported by the Appium team?

  • I have verified the component repository is present under the Appium organization in GitHub

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi all,

I have some tests and now I'm trying to execute them with universal-xml plugin activated, but I can see that when I activate this plugin the webview mode stops working correctly.
I have a test which switch to webview mode and send a text to a textbox, the locator of the textbox is this:
//input[@name="Email"]

When the plugin is disabled then works perfectly, but when I activate the plugin it stops working as usual, the test is unable to see the locator...
I've checked with appium inspector and the locator does not change, it remains the same with the plugin activated...

There's something that I have to take in count? Maybe this plugin does not work fine with webview mode?

I'm using last version of appium, uiautomator2, xcuitest, nodejs, universal-xml....

Any help will be appreciated.
Thanks!

Expected Behavior

The webview mode works as usual.

Minimal Reproducible Example

Just activating the plugin the webview mode stops working.

Environment

  • Operating system:
  • Appium server version (output of appium --version):
  • Appium driver(s) and their version(s):
  • Appium plugin(s) and their version(s):
  • Node.js version (output of node --version):
  • npm version (output of npm --version):
  • Last component(s) version which did not exhibit the problem:
  • Platform and version under test:
  • Real device or emulator/simulator:

Link to Appium Logs

No response

Further Information

No response

@d4v1dk0n7 d4v1dk0n7 added Bug a problem that needs fixing Needs Triage bugs which are not yet confirmed labels May 2, 2024
@mykola-mokhnach
Copy link
Collaborator

mykola-mokhnach commented May 2, 2024

Please attach the full server log

I have a test which switch to webview mode and send a text to a textbox, the locator of the textbox is this:

Is this issue about Appium Inspector?

@mykola-mokhnach mykola-mokhnach added Needs Info typically non-actionable; needs author to respond and removed Bug a problem that needs fixing Needs Triage bugs which are not yet confirmed labels May 2, 2024
@mykola-mokhnach
Copy link
Collaborator

I don't know how this plugin may influence web view detection. From the above log the output looks valid - there are no web view processes to pick up

@d4v1dk0n7
Copy link
Author

I don't know how this plugin may influence web view detection. From the above log the output looks valid - there are no web view processes to pick up

Hi @mykola-mokhnach,

Sorry but I posted wrong logs, I was disconnected from VPN.
These are the real logs with the issue...
https://gist.github.com/d4v1dk0n7/13ab65ee1f4665e71fc402506987b05a

Thanks!!

@mykola-mokhnach
Copy link
Collaborator

Now I see it. Yes, looks like this plugin does not know much about web views and does not support them.
Marking as feature request

@mykola-mokhnach mykola-mokhnach added Enhancement feature and removed Needs Info typically non-actionable; needs author to respond labels May 2, 2024
@d4v1dk0n7
Copy link
Author

Now I see it. Yes, looks like this plugin does not know much about web views and does not support them.
Marking as feature request

Ok.. So, for now this plugin is not working when you have to switch to webview...
Do you know (more or less) about when this will be solved?
If not, do you know if there are an alternative? (Another plugin or solution to do the same)..

Thanks!

@mykola-mokhnach
Copy link
Collaborator

Unfortunately I don't know any alternatives unless you want to contribute to that plugin yourself and add the needed functionality.

@d4v1dk0n7
Copy link
Author

Unfortunately I don't know any alternatives unless you want to contribute to that plugin yourself and add the needed functionality.

I don't have the necessary skills to do that...
I'll wait until this is fixed then...

Thank you!

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

No branches or pull requests

2 participants