andresdominguez / elementor

An improved element finder for protractor
MIT License
339 stars 27 forks source link

Using elementor with responsive design? #54

Open a-inglese opened 7 years ago

a-inglese commented 7 years ago

Hi there! I'm testing a web app that loads different index.html depending on the resolution (it has a very diferent template when using it in mobile resolutions).

I'm having a problem using elementor using this view.

Steps

  1. I load the page and use the device toolbar to set it in responsive mode
  2. I duplicate the tab in order to use the elementor extension
  3. In this second tab, I also use the device toolbar and set the resolution in responsive mode.
  4. When I select an element to check its locator, both tabs are set again to desktop resolution, and I'm unable to get the correct selector

Does anyone else has attempted the same type of testing? Maybe I'm doing something wrong or is this something that can't be done with elementor?

Thanks in advance for any reply or suggestion!