How to differentiate elements between mobile and desktop responsive? #3326
Unanswered
egarc12
asked this question in
Help Needed
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I need help with a particular case of my app.
HTML elements change name, id, class between mobile and desktop devices, for example this is the same element on a desktop device
And it's on a mobile device
I am using the page-object model and try the following
The problem is that the isMobile() method always returns an undefined value.
And just like this example there are more elements with this particularity
How could I solve this dynamically?
Beta Was this translation helpful? Give feedback.
All reactions