谷歌浏览器

Webgl flickering in Chrome on Windows x64 with nvidia GPU

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I see a weird flickering of some rendered geometry Chrome on Windows 10 x64 with nVidia chips. I've also tested in in Chrome for Linux, Firefox for both platforms, Android, and with Intel GPU. It works fine everywhere, except the one platform mentioned. Minimal example looks like this: Vertex shader: precision mediump float; smooth out vec2 pointCoord; const vec2 vertexCoord[] = vec2[]( vec2(0.0, 0.0), vec2(1.0, 0.0), vec2(1.0, 1.0), vec2(0.0, 0.0), vec2(1.0, 1.0), vec2(0.0, 1.0) ); void main() { gl_Position = vec4(vertexCoord[gl_VertexID],

Chrome app window cannot be moved partially outside of screen using moveTo

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: When a Chrome app window is moved to the edge of the screen using the mouse, the window can be moved partially outside of the screen. However when trying to move a Chrome app window beyond the screen using the moveTo function it remains snapped to the edge of the screen. Is there any other method which can be used to achieve this? 回答1: Try using setBounds() instead of moveTo(), that works for me: chrome . app . runtime . onLaunched . addListener ( function () { chrome . app . window . create ( 'window.html' , { 'bounds' : { 'width'

selenium 2 chrome driver

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So I have read all the docs on adding chromedriver to my path and followed all of them. I am on a Mac with selenium2, maven, eclipse, and all the latest drivers: Error: The path to the chromedriver executable must be set by the webdriver.chrome.driver system property; I put chromedriver in my Applications folder and my path looks like: echo $PATH /Users/tcerrato/selenium/BS_Sel_Project/auto_helper/test_scripts:/usr/local/apache-maven-2.2.1//bin:/Users/oracle/oracle/product/10.2.0/db_1/bin:/opt/local/bin:/opt/local/sbin:/Applications: What am

Selenium Webdriver Chromedriver timeout on start in headless mode

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am using Selenium Webdriver, with Ruby 32-bit 1.9.3, Chromedriver v2.9.248315, Chrome 38.0.2125.111 m and a local instance of Jenkins 1.588 Gems: cucumber (1.3.17), selenium-webdriver (2.43.0), watir-webdriver (0.6.11) (can provide list of all others if you think necessary) Windows 7 Professional 64-bit edition. When running a Jenkins job which starts Chrome using chromedriver and then trying to interact with it I get a timeout error. When doing the same on my desktop via a command prompt window it works perfectly. Running the

Open Google Chrome from VBA/Excel

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to open a Chrome browser from VBA. I understand Chrome does not support ActiveX settings so I'm curious if theres any work-arounds? Dim ie As Object Set ie = CreateObject("ChromeTab.ChromeFrame") ie.Navigate "google.ca" ie.Visible = True 回答1: shell("C:\Users\USERNAME\AppData\Local\Google\Chrome\Application\Chrome.exe -url http:google.ca") 回答2: Worked here too: Sub test544() Dim chromePath As String chromePath = """C:\Program Files\Google\Chrome\Application\chrome.exe""" Shell (chromePath & " -url http:google.ca") End Sub 回答3: You

WebDriverError: disconnected: unable to connect to renderer

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Meta - OS: OSX 10.12.6 (16G29) ~./node_modules/chromedriver/bin/chromedriver -v ChromeDriver 2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061) ~ $ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7/Contents/Home ~ $ node -v v6.11.2 Browser: Chrome Version 62.0.3202.62 (Official Build) (64-bit) Browser Version: 62.0.3202.62 (Official Build) (64-bit) Expected Behavior - A Chrome session should start and the script should execute till the end Actual Behavior - The browser is started but the script immedialy crashes. > ucb-client@2.97

session not created exception for chrome in Protractor

匿名 (未验证) 提交于 2019-12-03 01:26:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I get below error when try to run Protractor test against chrome. My conf.ts import { Config } from 'protractor' export let config : Config = { framework : 'jasmine' , // capabilities: { browserName: 'chrome'}, multiCapabilities : [ // {browserName: 'firefox'}, { browserName : 'chrome' , chromeOptions : { args : [ '--start-maximized' ] }, }], seleniumAddress : 'http://127.0.0.1:4444/wd/hub' , seleniumPort : null , seleniumArgs : [], specs : [ './Protractor/Login/*.spec.js' , Error: Protractor conf . js [ 17 : 19 : 07 ] I / hosted -

getCurrentPosition on chrome breaks javascript

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a page where I am loading google maps. I use getCurrentPosition over http and even I receive a warning from google api. The problem is that it breaks also the javascript and that ruins everything. The code was working for quite some time but the last week things broke. Below is the html and script. You can add it in html and run it and see (tried with stackoverflow but had some issues with the script) eller... Search near you */ /*--> */ 回答1: getCurrentLocation is only supported over https:// now on Chrome. There has been a warning in

Google Chrome Extension - stop browser navigation

匿名 (未验证) 提交于 2019-12-03 01:22:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How do I stop browser navigation from a Google Chrome extension? chrome.experimental.webRequest.onBeforeRequest.addListener(function(details) { alert("webRequest.onBeforeRequest -- Navigation blocked"); return {cancel: details.url.indexOf("bing.com") != -1}; }, null, ["blocking"]); The above code doesn't work! 文章来源: Google Chrome Extension - stop browser navigation

Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file' : AngularJS SPA

匿名 (未验证) 提交于 2019-12-03 01:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm very new to Angular SPA and for the first time I get a code by Googling and try to run. But I get some errors in Console. I couldn't figure out why, I found list of following Console errors: XMLHttpRequest cannot load file:///C:/Users/hp/Downloads/single-page-app-angularjs-master/home.html. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource. Error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file:///C:/Users/hp/Downloads/single-page-app