Update ScrollInDynamicLayer() to use the size of inner dropdown instead of entire mobile screen
snehith07 opened this issue · comments
Tammewar snehit commented
ScrollInDynamicLayer() method in the driver class should get the size(height & width) of the pop-up/inner dropdown/dynamic layer screen instead of getting the size of the whole mobile screen for scrolling.
Need to change this:
public void scrollInDynamicLayer(Direction direction) {
Dimension dimension = driver.manage().window().getSize();
}