wswebcreation / webdriver-image-comparison

MIT License
43 stars 36 forks source link

Tool bar and status bar not ignored on mobile android devices #96

Closed MPSwift closed 2 years ago

MPSwift commented 2 years ago

Environment:

Config of the automation framework + plugin Using Lambdatest https://www.lambdatest.com/ to use mobile devices and device capability is { build: "Test Run", name : "Test Galaxy S10 Android 9", browserName : "Chrome", platform : "Android", deviceName : "Galaxy S10", platformVersion : "9" }

Describe the bug Method saveFullPageScreen does not remove/ignore toolbar and statusbar in chrome android 9 devices, see screenshot galaxy_s9-preact-360x740

To Reproduce Steps to reproduce the behavior:

 browser.url('https://preactjs.com/');
        browser.saveFullPageScreen(imageName, {
            fullPageScrollTimeout: 3000,
        });

Expected behavior toolbar and status bar on chrome android 9 devices is ignored/not visible in full page screenshot

Hi, I'm trying to take and compare full page screenshots on android devices. I'm not using saucelabs or browserstack, I'm using lambdatest (mentioned above). On iOS devices it's all fine, but on android devices the toolbar and statusbar are not irgnored. blockOutStatusBar: true, blockOutToolBar: true are set.

Can you please help?

wswebcreation commented 2 years ago

@MPSwift

Hmm, kinda strange, I'm getting this when I run it on a Samsung S10 in the Sauce Labs cloud. Can you share the instance from Lambda test so I can do some debugging?

samsung-s10--412x869

MPSwift commented 2 years ago

Sorry, I cannot share the instance but maybe you can start a free trail here https://www.lambdatest.com/pricing?utm_source=GoogleAds&utm_medium=Sitelink&utm_campaign=Brand&utm_term=FreeTrial&gclid=Cj0KCQjw4eaJBhDMARIsANhrQACN3NYWhP6zgQ1THc9tlPjgaVUEStfckBOvx9x_vw0FUOPRRQxNddwaAhIaEALw_wcB

Is that ok for you?

ThilovGlan commented 2 years ago

Is there any news on this or what information is still required?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.