opera

Allowing Untrusted SSL Certificates with Opera browser. Selenium testing (Java)

眉间皱痕 提交于 2020-01-06 07:26:13
问题 How can I allow by Selenium WebDriver to accept untrusted certificate on Opera browser ? I try to use this code. No positive results DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true); WebDriver driver = new OperaDriver(capabilities); 回答1: Make a custom profile for your opera browser and then set the capability DesiredCapabilities capabilities = DesiredCapabilities.opera(); capabilities.setCapability("opera.profile",

Allowing Untrusted SSL Certificates with Opera browser. Selenium testing (Java)

血红的双手。 提交于 2020-01-06 07:26:07
问题 How can I allow by Selenium WebDriver to accept untrusted certificate on Opera browser ? I try to use this code. No positive results DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true); WebDriver driver = new OperaDriver(capabilities); 回答1: Make a custom profile for your opera browser and then set the capability DesiredCapabilities capabilities = DesiredCapabilities.opera(); capabilities.setCapability("opera.profile",

jquery attr() do not work in IE

天大地大妈咪最大 提交于 2020-01-05 22:45:30
问题 I use jquery to do some thing, and I use attr() method to get the id attribute, and it works well in Chrome and Firefox, but not in IE9 and Opera, some of the code is like: parent = $(this).parents('.every_note'); loan_id = parent.attr('id'); in the line loan_id = parent.attr('id'); Opera said: Unhandled Error: 'parent.attr' is not a function , and in IE said: does not support attr() method or attribute . But i can use this method if I test it in the browser's console , so anyone can tell me

jquery attr() do not work in IE

最后都变了- 提交于 2020-01-05 22:45:16
问题 I use jquery to do some thing, and I use attr() method to get the id attribute, and it works well in Chrome and Firefox, but not in IE9 and Opera, some of the code is like: parent = $(this).parents('.every_note'); loan_id = parent.attr('id'); in the line loan_id = parent.attr('id'); Opera said: Unhandled Error: 'parent.attr' is not a function , and in IE said: does not support attr() method or attribute . But i can use this method if I test it in the browser's console , so anyone can tell me

disable Opera function key in javascript

▼魔方 西西 提交于 2020-01-04 08:27:22
问题 I'm writing javascript code for a web emulator containing function keys. The user is able to press keyboard function keys to process something in the emulator, I used stopPropagation and preventDefault javascript function to stop/cancel browsers invoking their function key shortcut (e.g. F1 will invoke Firefox to open its help page) and the code works fine under Firefox and Chrome. But Opera didn't work, Opera invokes both my function and launches Opera help page. I'm using latest Opera 10.5

Custom base64 image cursor with Opera - possible?

纵然是瞬间 提交于 2020-01-04 06:56:32
问题 I have the following Javascript: document.getElementById("test").style.cursor = "url('data:image/png;base64," + "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAdUlEQVR42qW" + "TSw7AIAhEZ8XCA3AFlt7/dG3SxEatQ1FIjGDg8Yu4HAHwHNeHBfSB7X0FQ+" + "/EMjM9BXjvuYWI3kOOAAPMGx7bzFQNtta22Bpohkgl2AmigBNICjDMLdP/B" + "xCB1Fr5Z2qiqhRgZv8AEaGAUspg3wU3VkqQQyYrAAAAAElFTkSuQmCC'), default"; And it works with Google Chrome , but not with Opera . Any known reason or workaround possible? Same style for background

css background transition in opera goes through black

无人久伴 提交于 2020-01-04 05:35:35
问题 I'm just getting into CSS3 transitions (about time!) and I witness some strange behavior in Opera 11.60. I use a transition to change an element from background:none to background:#fff . However, the transition actually goes through black/dark grey before reaching its target. Now, I can understand why this happens - the opacity and the color are animated at the same time, and since the color used to be none , Opera regards it as #000 . Looks like a bug to me. Is there a way to fix this, save

JavaScript scope issue in Opera?

蓝咒 提交于 2020-01-03 17:44:53
问题 I have a widget-like block of HTML+JavaScript that people can copy/paste into their HTML-page one or multiple times. That block checks if an external JavaScript file is already in the DOM, and loads it if not, something like this: (function(){ d = document; if (!d.getElementById('ex-scr')) { scr = d.createElement('script'); scr.async = true; scr.id = 'ex-scr'; scr.src = 'external.js'; d.getElementsByTagName('head')[0].appendChild(scr) } })(); The external JavaScript-file checks the HTML-page

Chrome inspector - remote debugger - Clipboard is not enabled in hosted mode. Please inspect using chrome://inspect

时光毁灭记忆、已成空白 提交于 2020-01-03 16:51:24
问题 I am using the remote debugger inspector by visiting for example: http://localhost:9222/devtools/inspector.html?ws=localhost:9222/devtools/page/33767d5c-6abf-4c79-b8e7-d3b0c251fcaa The inspector works other than not being able to copy within the element, for copying xpath/sizzle selectors for instance which is really important . But on copy I am getting: Clipboard is not enabled in hosted mode. Please inspect using chrome://inspect I am remote debugging using an "external" inspector in google

Hide the mouse cursor in Opera 10 Kiosk Mode

廉价感情. 提交于 2020-01-02 20:18:52
问题 Seems I can't use cursor:url(); with opera and from what I can tell they removed the hide cursor setting from opera.ini. We're running an app in kiosk mode on a touch PC and would like to hide the mouse cursor. any idea on how to do this? 回答1: Try loading a 1x1 transparent image instead of empty url? 回答2: I'm running a beta version of Opera 11 for a kiosk, and I was able to go to opera:config, search for 'cursor' and check a box to hide the cursor. 回答3: I found a preliminary solution: Press