Rstudio server in a (firefox) browser: confict between shortcuts - keyboard-shortcuts

I am using Rstudio Server from within Firefox. This allows me to run Rstudio as if I was using its desktop version. A key difference is that there is now a conflict between Rstudio definition of shortcuts, and firefox ones:
Both have open (Ctrl + O), save (Ctrl + S) but Rstudio takes precedence
Both have Ctrl + W, but here firefox (or the System, one?) takes precedence (meaning I am closing the whole firefox window, not Rstudio tab)
Switch tab shortcut will switch firefox tabs, not rstudio tabs
How does precedence works? And how should I do if I wanted that when I am in rstudio in a firefox tab, switch tab switches among rstudio tabs? This is discussed a little here but no good solution offered so far. I am using Ubuntu if this plays a role...
Thanks!

Related

Selenium leaves control after clicking to file explorer Browse button in MS Edge

Selenium leaves control after clicking to file explorer Browse button in MS Edge. This works fine in Chrome and Firefox but absolutely blocking to run next step in the code. I tried code via all possible ways and below code works to click to Browse button but after this step selenium leaves control because file explorer window opens. Is this Selenium or MS Edge driver issue?
Steps:
1. Open ajax web application through MS Edge (works)
2. Click to browse button through web driver core or java script method (works)
3. Selenium gone, leaves control till we close file explorer button (doesn't work) - this works fine in GC and FF.
4 (Blocked). Send key to type file name or implement AutoIt script (works)
5 (Blocked). Click to open button via AutoIt script (works)
6 (Blocked). File attached fine (works)
Working code:
driver.findElement(By.id("browseID")).click();
AND
WebElement we = null;
((JavascriptExecutor)ClientSessionFactory.session().webDriver()).executeScript("document.getElementsByName('browseName')[0].click()", we);
Environment:
Selenium version - Latest 3.6.0
Browser - MS Edge
MS Edge Driver - Latest Release 15063
Application type - Ajax web
This is actually blocking attachment functionality and it would be great if selenium will fix this. So far i just see Autoit is the solution as a 3rd party software but it is very tedious to add separate scripts for every browse buttons in the application, any code by selenium blocks due to OS dialog appearance.
I encountered the same problem. One solution can be to manipulate the "browse" window using an Auto-It script (for example). Right before click on the "browse" button, execute the Auto-It script and set a "sleep" command in the beginning to wait for 1-2 seconds. Now you can click on "browse" button. Works fine for me.
Same issue. To fix it i pimped the AutoIt script using WinWaitActive() as a first directive to wait til window is active.
I run the script in a parallel process (subprocess.Popen in python) just before opening the file upload

How to fix ctrl space shortcut for my IDE using Linux Mint?

On a Linux Mint machine using Cinnamon, the ctrl + space does not work. It appears to do exactly nothing, even though the keymapping is properly configured in PhpStorm.
This problem does not only apply to PhpStorm, but also Eclipse or Netbeans, so I assume this is related to Linux Mint.
I have found the solution, which is:
disabling the shortcut for "IBus", which was set to ctrl-space after upgrading from 14 to 17.
If you search your applications for "ibus" ... you should see "Keyboard Input Methods" pop.
Click on that app, and the very first option you can set is the
keyboard shortcut for "Next input method". Click this, then "delete"
in the popup that shows. Immediate fix for me with PHPStorm not
registering any ctrl-space command.

What happened to Opera Dragonfly?

Using either 20.0.1387.82 or 22.0.1457.0 (developer)
When I right-click and select Inspect Element, I get a vanilla Developer Tools dialogue:
not the one always pictured:
It looks identical to Chrome's debugger (though I've uninstalled Chrome), most notably absent, the icons on top row and the remote debug facility.
Anyone know how I can get Dragonfly working on my machine?
Opera ditched their Presto rendering engine and built a new browser (also called Opera) around Blink (Google's fork of Webkit). It doesn't support Dragonfly any more.
There are plans to port it to the new browser.

How to use/open/enable Dragonfly?

I want to use the Dragonfly debugger for the Opera browser. I'm not sure what I did wrong. I downloaded the opera browser, but when I click inspect element, I just get the firebug debugger. And I'm not just confusing one for the other, because I've used Dragonfly on another machine before. Do I have to download another extension? I'm using a Max OS X 10.7.5. Thanks in advance.
Opera cannot communicate with the native Firebug (from Firefox), so it sounds like you've downloaded Opera, installed the Firebug Lite extension, and are starting this extension (via the button it installs) instead of Opera's built-in Dragonfly (which you start via right-click and "Inspect element", or by using Ctrl+Shift+I or the Mac equivalent). See this answer for more details.

Is the new IE9 a standalone browser

Anyone that has installed the new IE9 know if I can keep IE8 installed? I do a lot of web testing and don't want to update to IE9 if I loose IE8.
best way is to install a Virtual Machine
Per Microsoft:
If you are running Windows Vista or
Windows 7 on your computer, you can
install the Internet Explorer 9 Beta
to replace your existing version of
Internet Explorer. After you install
Internet Explorer 9, you can uninstall
it to restore the previously installed
version of Internet Explorer.
So no, it will overwrite IE8 (at least the Beta will. I suppose this is not guaranteed to be the same for the release version).
I use Virtual PC with images of the browsers I need to test, but also and more lately, IETester, http://www.my-debugbar.com/wiki/IETester/HomePage. It allows you to run multiple versions of IE side by side.
If you want to be able to play with the new features of IE9 without installing the entire browser (which will replace IE8) you can install the Platform Preview. The PP is stand-alone, includes the latest features and bug fixes and has been getting updated roughly every 8 weeks. You can get the latest Platform Preview at:
www.ietestdrive.com
FYI: the production IE 9 does not accurately reproduce IE 8. I've got a CSS issue I'm chasing down now because IE 9's IE 8 mode isn't the same as real IE 8.
If you are concerned with testing how your site looks in IE8/7, you can use the Developer Tools (press F12) to switch the Browser modes and Document modes so that IE9 interacts with the web server as a different user agent, and renders the HTML document according to the version rules.
http://msdn.microsoft.com/en-sg/ie/ff468705(en-us).aspx#_New_Dev_Tools
IE9 beta is released as a Windows update, so after installing it and playing around, you can remove it from Programs and Features -> Installed Updates, which will recover IE8.
hit f12 on ie9, it will pop up the debug console. In the menu there is a browser mode option where you can set the browser to display as ie8 and a bunch of other versions too.
Also, if you're mouse focus is on the console and you hit ctrl+r, it will clear your browser cache... This is a feature that all the other browser debuggers lack.. ability to quickly clear cache.... I'm rambling now.
The best way to see your site on old versions of IE is that:
If you have IE9+, open your current version of InternetExplorer, press F12, click on "Browser Mode" tab, then choose the version you want.
see screenshot here:
Works better than IE-tester, and easier than using virtual machine.