In Nitrous.io, Is there a way to input stuff for the console in iOS? - nitrousio

The keyboard won't show up for console, and it is only for the editor. Is it possible there is some workaround about this? It is so close to fully support iOS!
Even better if nitrous.io guy can address this issue...

iOS is not officially supported so your mileage may vary when using an iPad, iPhone as well as other mobile devices.
Full iOS support is in our roadmap, I suggest following #nitrousio for product announcements.

Bluetooth keyboard works (in Chrome and Safari). Just tap inside the console area twice, then start typing.
Another option is to install a code editor (like Diet Coda) which provides an SSH console.

Related

Hiding MacOS Toolbar when in fullscreen

I was wondering if it is possible to hide the toolbar when in full screen using CSS. I've tried searching StackOverflow for some answer but sadly with no success.
Basically, go from this:
Too this:
No, you cannot affect the host application interface using CSS. There is a Javascript solution, however.
document.documentElement.webkitRequestFullScreen(); Be aware that you should also track keyboard actions like ESC, and provide a button for users to exit this experience as well.
Here's the documentation from Mozilla. Also according to the Can I Use database, Desktop Safari has only partial support and iOS Safari has NO support so how well this works will vary based on the browser.
I should point out that this isn't really the same as Kiosk mode. Kiosk mode can be used to block access from other applications/websites. This DOES NOT do that.

Selenium run chrome in mobile mode

Is there any possibility to run mobile version of chrome using ChromeDriver in Selenium, I mean something like emulation in Inspect element options?
Try --window-size=360,640 option, full option list
I think Appium can run against mobile Chrome for Android, via emulation of some description. But I've never run it myself so can't offer more than a general pointer in that direction. Sorry!
If you're just looking to emulate mobile chrome for inspection purposes, you could always use the normal computer version of Chrome and set it to emulate a mobile device. To access the emulation settings, press F12 then click the Show Drawer button and then the Emulation tab.
If you're looking to run scripts against mobile Chrome, then you'll need to use something like Appium as the previous answer suggested.

Emulate Touch Screen option absent, Device Emulation provides no touch screen response

I am working on a mobile website at the moment and I refreshed the page, Chrome quit unexpectedly, and since then all touch screen emulation is absent and/or failing.
Chrome Version: 36.0.1985.125 m,
OS: Windows 7 Ultimate SP1
Google Chrome suddenly and unexpectedly stopped emulating devices properly. All touch screen functionality has been disabled and apparently removed. When I emulate a device, the Sensors box fails to be checked and upon inspection, does not show any 'Emulate Touch Screen' option.
I have tried the following, all in conjunction:
Uninstalling/Reinstalling Chrome and deleting all personal settings, including uninstalling all extensions, restoring all defaults, etc.
Restarting the computer
Running anti-virus software
EDIT: Installed Chrome Canary which produced the exact same problem
Please let me know if there are any other relevant details that I might need to add.
Sorry about this. We overhauled the touch emulation in Chrome 36 to be much more accurate (sharing code with what really happens in Chrome Android): https://plus.sandbox.google.com/+RickByers/posts/CBCmhVttj5C. In the process we ended up disabling touch emulation when real touch support was present (at the time we thought this was no big deal because if you've got a real touchscreen why would you want to fake one with mouse?). But some Windows PCs report that they have a touchscreen when in fact they don't really (Eg. Visual Studio installs a touch screen emulator I believe).
We're fixing this at http://crbug.com/395531 - hopefully there will be a Chrome Canary build soon that re-enables touch emulation in these cases.
In the meantime you can mostly work around the issue by disabling Chrome's support for built-in touchscreens at chrome://flags/#touch-events. Make sure you set this back to 'Enabled' after Chrome is updated to fix the issue. With this disabled, some minor aspects of touch emulation (eg. DOM0 ontouchstart= handlers) will not work properly.
Stop the "Tablet PC Input Service" and restart chrome. If chrome thinks you have a touch screen, it won't let you emulate one.
I stumbled across the answer here:
https://github.com/Modernizr/Modernizr/issues/880

test localhost website compatibility online, on older browsers

I'm implementing a web application that uses html5 features.
Is still on localhost. Is there any online service that I can test my localhost site somehow?
I mean, is there an online service that simulates mobile browsers, or versions of older web browsers?
So I don't have to download/install older browsers?
You can use a browser named Lunascape, because its giving you facility to run your site (local and live both) on different 3 rendering engine in same single browser.
And we know that almost all browser uses one of these three rendering engine.
Trident = for IE,Internet Explorer Mobile version and others
Gecko = Firefox, Firefox for mobile and many others
Webkit = Safari, chrome... know more
so you can just switch to any one of these three rendering engine by click on icon at right side of address bar of lunascape browser.
Download and check it. May be it useful to you...Lunascape
Click here for More information about Lunascape
In other option, Avant browser is also good choise. but I like Lunascape more compare to avant, but that is my personal opinion may be you have different experience with one of these two.
Because Adobe Browser lab is shutdown you can also go with BrowserStack or Saucelab but these are paid.
I would use a firefox or chrome plugin (https://chrome.google.com/webstore/detail/test-ie/eldlkpeoddgbmpjlnpfblfpgodnojfjl):
here are a list of services and plugins:
http://www.hongkiat.com/blog/complete-guide-to-cross-browser-compatibility-check/
Install Test IE plugin to Firefox and then run your local site and click to Test IE icon on the right-top of Firefox and choose which version of IE you want.
Note:It has 30 minutes free trial time.
I had the same question today and a coworker told me about BrowserStack. Create a free online account and then install the chrome extension. Fairly easy setup -> Just make sure to click Yes when they ask if you want to do local testing, and it'll guide you through getting started.
The testing options are extremely detailed: I'm using it to check between a Chrome on Mac vs Chrome on Windows styling bug, and it's working perfectly for testing my localhost dev version.

How to test mobile website on my PC/Laptop

I am building a website which detects the target browser whether it is mobile or pc browser. Based on the content it choose theme.
What I want to ask is. Is there any mobile browser which I can download in my pc to test my site instead of on phone many times?
You could change the user agent to an user agent from a mobile browser. Extension on Chrome
You don't need any extensions, you can just change the User Agent manually on Chrome's Developer tools, just click on the settings Icon and then refresh the page (as you can see this page's look changes):
This is what I use normally. It is not exactly what you are looking for I think but its worth the money!
Stick with webkit browsers for mobile testing, sans Windows Phone. Don't overlook the Android SDK's emulator and, if you're on a Mac, the iOS simulator, as you may come across rendering issues that don't exist in-browser.