lonpress inspecting element on appium inspector
up vote
1
down vote
favorite
I have to inspect an element after long pressing it on Appium inspector.
To perform any action, there are three options
1. tap
2. sendkeys
3. clear
How to get any element inspected after long press? 'Tap' does not work. it just taps the element. whats the solution for longpress?
appium appium-android
add a comment |
up vote
1
down vote
favorite
I have to inspect an element after long pressing it on Appium inspector.
To perform any action, there are three options
1. tap
2. sendkeys
3. clear
How to get any element inspected after long press? 'Tap' does not work. it just taps the element. whats the solution for longpress?
appium appium-android
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have to inspect an element after long pressing it on Appium inspector.
To perform any action, there are three options
1. tap
2. sendkeys
3. clear
How to get any element inspected after long press? 'Tap' does not work. it just taps the element. whats the solution for longpress?
appium appium-android
I have to inspect an element after long pressing it on Appium inspector.
To perform any action, there are three options
1. tap
2. sendkeys
3. clear
How to get any element inspected after long press? 'Tap' does not work. it just taps the element. whats the solution for longpress?
appium appium-android
appium appium-android
asked Nov 19 at 16:08
shreya zarkar
289
289
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
There is no way to do this in inspector right now.
But here is a tip: you can run your code in test and call driver.getSource()
right after a long press, and print output to console. Then grab any XML formatter and inspect your element.
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
There is no way to do this in inspector right now.
But here is a tip: you can run your code in test and call driver.getSource()
right after a long press, and print output to console. Then grab any XML formatter and inspect your element.
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
add a comment |
up vote
1
down vote
accepted
There is no way to do this in inspector right now.
But here is a tip: you can run your code in test and call driver.getSource()
right after a long press, and print output to console. Then grab any XML formatter and inspect your element.
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
There is no way to do this in inspector right now.
But here is a tip: you can run your code in test and call driver.getSource()
right after a long press, and print output to console. Then grab any XML formatter and inspect your element.
There is no way to do this in inspector right now.
But here is a tip: you can run your code in test and call driver.getSource()
right after a long press, and print output to console. Then grab any XML formatter and inspect your element.
answered Nov 19 at 17:42
dmle
1,6781614
1,6781614
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
add a comment |
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
Thank you so much. I will surely try this method.
– shreya zarkar
Nov 20 at 9:30
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53378585%2flonpress-inspecting-element-on-appium-inspector%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown