google-chrome

Android- EXTRA_HEADERS is not reflecting in updated Chrome version greater than 83

余生长醉 提交于 2020-08-20 06:29:52
问题 Earlier the EXTRA_HEADERS passed to the customTabsIntent.intent.putExtra(Browser.EXTRA_HEADERS, headers), was working fine. After Chrome updated to 83, it stopped passing the header data. public static void startCustomTab(String url, Context context) { CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); CustomTabsIntent customTabsIntent = builder.build(); builder.setShowTitle(true); Bundle headers = new Bundle(); headers.putString(context.getString(R.string.type), "android");

Android- EXTRA_HEADERS is not reflecting in updated Chrome version greater than 83

China☆狼群 提交于 2020-08-20 06:29:07
问题 Earlier the EXTRA_HEADERS passed to the customTabsIntent.intent.putExtra(Browser.EXTRA_HEADERS, headers), was working fine. After Chrome updated to 83, it stopped passing the header data. public static void startCustomTab(String url, Context context) { CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); CustomTabsIntent customTabsIntent = builder.build(); builder.setShowTitle(true); Bundle headers = new Bundle(); headers.putString(context.getString(R.string.type), "android");

NaCl helper process running without a sandbox! error when running npm tests

断了今生、忘了曾经 提交于 2020-08-19 06:31:04
问题 I'n having a problem when running some npm test. The error I'm receiving is: "NaCl helper process running without a sandbox!", which is true, as I'm running the browser with the "--no-sandbox" option. I have to run this option due to the fact that the browser runs as root, and I don't have an option to run it a different user at all(it's a docker image). Can anyone please help me to sort it out? P.S I'm installing the browser in the following way: RUN apt-get update RUN apt-get install -y

Chrome 84 Inspect element, find results not highlighted in yellow like before

时光怂恿深爱的人放手 提交于 2020-08-15 04:53:24
问题 As per usual when making automated tests I use "Inspect"(CTRL+SHIFT+I) in Chrome to find element by xpath, id, CSS selector etc. For example: //li/a[contains(text(), "Products")] Above is an xpath from this page. In previous versions of Chrome in "DevTools"/"Elements" after pressing CTRL+F to open the "Find" option and pasting this xpath element is highlighted in DevTools window. In new version of chrome it is not highlighted, the usual "1/1" results is displayed in far right of the "Find"

Chrome 84 Inspect element, find results not highlighted in yellow like before

旧街凉风 提交于 2020-08-15 04:53:12
问题 As per usual when making automated tests I use "Inspect"(CTRL+SHIFT+I) in Chrome to find element by xpath, id, CSS selector etc. For example: //li/a[contains(text(), "Products")] Above is an xpath from this page. In previous versions of Chrome in "DevTools"/"Elements" after pressing CTRL+F to open the "Find" option and pasting this xpath element is highlighted in DevTools window. In new version of chrome it is not highlighted, the usual "1/1" results is displayed in far right of the "Find"

Selenium python library via docker, Chrome error failed to start: exited abnormally

天大地大妈咪最大 提交于 2020-08-10 22:54:37
问题 I am trying to run some python scripts with the selenium library from within a docker container based on miniconda/anaconda, but I keep getting this error: selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally . I am also using a python wrapper for xvfb to avoid opening a real Chrome window. To reproduce this (from a running docker container): root@304ccd3bae83:/opt# python Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19

Strange input widths in Firefox vs. Chrome

走远了吗. 提交于 2020-08-10 20:23:11
问题 I've got some number inputs in a flex layout which are not sizing as expected in Firefox, and I don't understand why. The result in Chrome: The result in Firefox: As you can see, the XP row doesn't overflow its parent in Chrome (no horizontal scrolling), but it has significant overflow in Firefox (with horizontal scrolling), on top of the number inputs overlapping neighboring label texts. The relevant HTML & CSS from the page is: /** * The ".charsheet" prefix on each rule is automatically

Strange input widths in Firefox vs. Chrome

匆匆过客 提交于 2020-08-10 20:21:41
问题 I've got some number inputs in a flex layout which are not sizing as expected in Firefox, and I don't understand why. The result in Chrome: The result in Firefox: As you can see, the XP row doesn't overflow its parent in Chrome (no horizontal scrolling), but it has significant overflow in Firefox (with horizontal scrolling), on top of the number inputs overlapping neighboring label texts. The relevant HTML & CSS from the page is: /** * The ".charsheet" prefix on each rule is automatically

Invalid port. Exiting..Exception in thread “main” org.openqa.selenium.WebDriverException: Driver server process died prematurely ChromeDriver Selenium

巧了我就是萌 提交于 2020-08-10 13:00:41
问题 Installation details I have installed java version : 1.8 selenium jar version : 3.141.59, chrome browser version : 84.0.4147.89. I want to launch the google in chrome browser using selenium web-driver test case. But I am not able to launch due the above attached issue. Please help me to fix the issue. 回答1: You need to update your exe version https://chromedriver.chromium.org/downloads in this link you can download driver exe and set in path Can you kill chrome exe and refresh and rerun ( note

Whats the point of `beforeunload` returnValue if the message does not get set?

谁说胖子不能爱 提交于 2020-08-10 05:00:19
问题 TL;DR No modern browsers use the message. You can abuse the api with this message so browsers dropped the use of the parameter. Thank you Huangism, lilezek, and James for the below responses. What is the point of setting the event returnValue in the onbeforeunload callback if the message never gets set? The MDN docs here recommend that we set this value, and I'm not able to prompt the user without setting this value. However when setting that value I don't see my string in any of the