Cannot Turn On Linux Development Environment - google-chrome

I have installed Google Chrome OS Version 101.0.4937.0 (Official Build) dev (64-bit) on my Mac book Pro Mid 2011
Google Chrome: Version 101.0.4937.0 (Official Build) dev (64-bit)
Platform: 14574.0.0 (Official Build) dev-channel reven
Channel: dev-channel
Firmware Version:
ARC Enabled: false
ARC:
Enterprise Enrolled: false
Developer Mode: false
I am trying to turn on development environment but always getting error
Error: operation vm_start failed: bad VM status: VM_STATUS_FAILURE: Host vulnerable against untrusted VM
How can I solve it.

Related

WebGl 2 is not defined in Google Chrome despite hardware acceleration enabled

I'm trying to use WebGL 2 on a website but I can seem to get it to work on my PC. Says it's not available. I can't figure out if it's the graphics driver or OpenGL's version, but here's some info. Any help will be highly appreciated.
Here is my hardware.
Chrome version: Version 108.0.5359.98 (Official Build) (64-bit)
lsb_release -a outputs:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Linux Lite 5.6
Release: 20.04
Codename: focal
lspci | grep VGA outputs:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
glxinfo | grep 'version' outputs:
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL version string: 2.1 Mesa 21.0.3
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 21.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
And here are the settings for chrome.
chrome://gpu/:
chrome://flags/:
chrome://settings/system:
Report from WebGL Report
The answer can be found in your printout fragment Max GLES[23] profile version: 2.0, which is confirmed by this tech sheet. So your maximum supported Open GLES version is 2.0 which equals to WebGL (version 1). You would need a graphics controller which supports Open GLES 3.0 as that corresponds to WebGL2.
So, in short -- everything's fine with Chrome, but your hardware resp. its driver doesn't support Open GLES 3 and therefore not WebGL2.

Downgrade chromedriver version during runtime using webdrivermanager

Problem:
Facing an issue to downgrade chrome driver version during runtime.
Background:
Using chrome + Docan(needs chrome driver with v2.33) to do automation test of an application.
First, start chrome with driver version: 91.0.4472.124.
Then, switch to Docan which needs chrome driver with version 2.33.
Code:
WebDriverManager webDriverManager = null;
Initial:
webDriverManager = WebDriverManager.chromedriver();
Switch:
WebDriverManager.chromedriver().clearResolutionCache();
webDriverManager = WebDriverManager.chromedriver().driverVersion("2.33");
webdriver.avoidBrowserDetection();
Behavior:
After switch:
System.getProperty("webdriver.chrome.driver") --> return path for version 2.33
In log:
I could see chromedriver version is still 91
UI action:
Docan is not fully supported for actions like click.(It supports fine if driver is 2.33, tried with IE + Docan)
Is there any suggestion to make it work?

Exception: unknown error: Chrome version must be >= 53.0.278 5.0

I am trying to setup e2e test using protractor, keep on getting Chrome version must be >= 53.0.278 5.0 error.
Environment:
OS: Windows 7(64 bit)
Chrome: 44(I am not allowed to upgrade to latest version)
Protractor: 5.0.0
ChromeDriver: 2.26
SeleniumStandalone: 2.53.1
Thanks.
ChromeDriver 2.26 supports Chrome v53-55 as described here.
Downgrade your ChromeDriver with the command webdriver-manager update --versions.chrome 2.20. This would install ChromeDriver 2.20 which is compatible with Chrome v43-48.

“cannot get automation extension” error with chrome version: 57.0.2987.98

chrome version : 57.0.2987.98 m (64-bit)
"protractor": "4.0.11",
"protractor-console-plugin": "0.1.1",
"protractor-jasmine2-html-reporter": "0.0.6",
"protractor-notify-plugin": "1.0.0",
protractor failed to launch chrome with the following error:
unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=57.0.2987.98)
(Driver info: chromedriver=2.26.436362 (5476ec6bf7ccbada1734a0cdec7d570bb042aa30),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10.10 seconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
You are using incompatible versions of chromedriver=2.26.436362 and chrome=57.0.2987.98.
As per Chrome driver release notes the error is fixed in ver 2.28 so you should upgrade your Chrome driver (or downgrade the Chrome browser).
upd: if you use angular/webdriver-manager to run Selenium server then you can achieve this by running the following commands:
webdriver-manager update --versions.chrome=2.28
webdriver-manager start --versions.chrome=2.28
Yes, you can use this as a workaround
node ./node_modules/protractor/bin/webdriver-manager update --versions.chrome 2.28
node ./node_modules/protractor/bin/webdriver-manager start --versions.chrome 2.28
Works for my team. Hope it can help you.
Upgrading your protractor version to 5+ should do it. I got the same error, upgraded from 4.0.14 to 5.1.1, and now all my UI tests are passing again.
It seems that protractor doesn't start grabbing the latest version of the chrome driver until Protractor version 5.0, so when you upgrade to a version of Chrome that's incompatible with protractor's chrome driver, it will break your tests in this fun new way.
Source: https://github.com/angular/protractor/blob/master/CHANGELOG.md
This might be because webdriver failed to deal with 3-party Chrome extension.
You can try to set below capabilities in your conf.js file to disable extensions usage:
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': ['--disable-extensions']
}
}

Error when running sitespeed.io with chrome : Chrome failed to start: exited abnormally

I was running this command on the terminal
$ sitespeed.io -u http://cybercom.com -b chrome
but always facing this error, I have tried many times but in vain cannot figure out the problem
message: 'unknown error: Chrome failed to start: exited abnormally\n (Driver info: chromedriver=2.16.333243 (0bfa1357514444f1ddb82bf70944f96),platform=Linux 3.13.0-65-generic x86_64)'
knowing that
1-Os version :
Ubuntu 14.04.3 LTS
2-my google chrome version is
$ google-chrome -version
Google Chrome 46.0.2490.71
3-chrome driver version
$ chromedriver -version
ChromeDriver 2.10.267518
but in the message error it is "Driver info: chromedriver=2.16.333243" .... I didn´t understand why they aren´t the same version ?
Google chrome version is not supported neither with chromedriver=2.16 nor with ChromeDriver 2.10.
----------ChromeDriver v2.16 (2015-06-08)----------
Supports Chrome v42-45
----------ChromeDriver v2.10 (2014-05-01)----------
Supports Chrome v33-36
what should I do in this case ?
I appreciate your help . Thx