New issue
Advanced search Search tips

Issue 776053 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Screen flicker on mobile emulation on Ubuntu

Reported by pop...@gmail.com, Oct 18 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. Start Chrome using webdriver, with mobile emulation (I used "iPhone 6") 
2.Navigate to google.com

What is the expected behavior?
The page should be loaded and no flicker.

What went wrong?
At the end of the load phase the screen flickers (it seems like it changes viewport back and forth, super fast). Check the attached video. It happens independently on URL.

Did this work before? Yes Chrome 60

Chrome version: 61.0.3163.79  Channel: stable
OS Version: Ubuntu 16.04 LTS
Flash Version: 

It was introduced in Chrome 61 and I verified today that it is the same in Chrome 62 on Ubuntu. I cannot reproduce it on Mac OS X.

It happens only when mobile emulation turned on.
 

Comment 1 by caseq@chromium.org, Oct 20 2017

Components: -Platform>DevTools Tests>WebDriver

Comment 2 by pop...@gmail.com, Oct 23 2017

I think this test case did if (if I didn't miss anything):

1. Download index.js and package.json in a folder
2. Go to that folder and run npm install (will install latest Chromedriver and Selenium)
3. Run: node index.js

It will open Chrome with iPhone 6 emulation, testing a Wikipedia page. It starts out on the size for the iphone but then make the window larger. It looks like the window size isn't set to be correct for the viewport size of the iphone emulation.

index.js
1005 bytes View Download
package.json
246 bytes View Download

Comment 3 by pop...@gmail.com, Oct 23 2017

Ooops, you should of course enable mobile emulation by removing the comment in front of 
// chromeOptions.setMobileEmulation({deviceName: 'iPhone 6'});

Sorry!
Labels: Needs-Milestone TE-NeedsTriageHelp
Status: WontFix (was: Unconfirmed)
The issue I encountered while running the repro code is the script ends soon after Chrome starts, and then mobile emulation ends as soon as the script ends. After adding a delay to keep the script running, I wasn't able to observe any screen flicker.
Can you please check with khachatryan@chromium.org that was able to reproduce, see:

https://bugs.chromium.org/p/chromedriver/issues/detail?id=2272&can=2&start=0&num=100&q=ubuntu&colspec=ID%20Status%20Pri%20Owner%20Summary&groupby=&sort=

It still affect us and make some metrics unusable when we run emulated Chrome.

Sign in to add a comment