I am building a Sinatra (ruby) application by using ATOM- editor.
After sometime Safari and Chrome do not show the latest html/erb changes what i make in Atom. To lunch the app I am using ruby "filename".rb and shotgun "filename".rb
I tried "clear browser data" Sometimes it works sometimes not.
Could you please give me an advice what to do in case of this error?
Thank you.
Related
I installed selenium and used a python program to run chrome using selenium on my MacBook Air. Before there was an error on selenium, and after installing googlechrome drivers for selenium and creating a PATH using terminal, it opened a separate google chrome page that showed Chrome is being controlled by automated test software.
After around 30 minutes of running python and using selenium, I saved and closed out of everything.
In the next 2 minutes, I reopened Google Chrome to search something about web scraping, and the browser was the same one used by selenium. It still showed the Chrome is being controlled by automated test software notice, and there was a Chrome Automation Extension.
I tried:
logging in and syncing, but syncing was not available.
opening Google Chrome from application folder and dock, but nothing changed
deleting Google Chrome and reinstalling, but nothing changed
I don't know how to fix this. Can anyone help me?
Thanks in advance!
Ok, so I found out that the chromedriver was still running in the background. After I closed it using activity monitor, the problem was solved.
Is this possible at all? MozREPL is now apparently incompatible with this version of Firefox, but Firefox is very hard to stop updating.
I want to automate a browser again, not a headless one.
Is there any browser I can use at all, where i can just simply read the page HTML and automate form submission?
That's it really, last time I done this, Firefox was good for this.
Thanks
If you are on linux, you can downgrade to 54, and hold the update. Firefox will complain about not being able to update, but that's it.
Other possible solution should be a container with firefox 54 installed, but I did not have the time to try it out. The script(s) should be run inside the docker, I suppose.
I am trying to make a Chrome extension that shows information on the screen when a new tab is added, like Momentum and loads of other extensions. I was wondering if it was possible to run a Ruby Sinatra app in that window or if I would have to use JavaScript or some other language.
A chrome extension can only run javascript, but you could write a sinatra app and have the javascript access it.
I initially started doing this app with Dreamweaver and phonegap build. After running into some issue I bypassed Phonegap build and imported my project directly into xcode (my first time using).
The problem I am having is when someone clicks the url it opens up in the app instead of the browser. I am very new to apps in general and a baby when it comes to xcode so forgive me if this is pretty cut and dry.
My anchor looks like this:
<a data-role="button" href="http://www.google.com/" target="_blank" style="color:#07a54a;">
Like I said when someone clicks that, its like it opens within the app and there is no way to get back to the app unless you kill it.
Specifically my questions is how do I get this url to open outside the app in the phones browser? I have watched and read numerous tutorials talking about .h and .m files, but all of these seem to be using the drag and drop story board which I dont have or know how to use.
Can someone tell me how I can have this (and other absolute url's) open in the browser outside of the application?
Thanks
There's no such thing as an "HTML5 Xcode app". You say you bypassed PhoneGap and imported it directly, but that's not possible. Xcode doesn't know what to do with plain HTML 5. It sounds like you are still using PhoneGap, in which case you follow whatever the normal PhoneGap procedure for opening links in Safari is.
Found it: Thanks http://docs.phonegap.com/en/2.3.0/cordova_inappbrowser_inappbrowser.md.html
Poorly worded on my end, app uses phonegap :D
Using Firebug v1.20b7 with Firefox v3.0.1 I use firebug a lot for web devlopment.
I have very often the problem that Firebug won't show its web console for seeing the POSTs and GETs. I can view all the other tabs, including the NET tab that gives me a lot of the same information that the CONSOLE tab does.
Curious if anyone else has had this problem, and maybe a solution, or maybe this is a bug of Firebug.
There is a limitation in firebug (or rather, in firefox iteself), which will be fixed in one of the newer Firefox releases.
The bug is caused by the fact that firebug needs to send data a second time to monitor what's going on in the connection.
There's now a special API hook in the firefox trunk that should prevent this workaround in the future, so that firebug can really spy on what's going on :)
Well, 1.20b7 is technically a beta version of Firebug. :)
I've had problems with certain features off and on, but a restart of Firefox seems to fix it more often than not.