Is it possible to crate a link to Gnome desktop that allows me to start a particular webpage that requires logging to the site and clicking some JavaScript buttons? I have a project in my work that requires logging to a WWW-site relatively regularly and often I have to choose one particular project.
one can open Chrome & Firefox with an URL (eg. a regular
.desktop
file), while one cannot inject JS alike that. most easy is to use a HTTP debugger (F12) and then script it server-side with PHP & cURL. if you really need to execute JavaScript, phantomJS can run it headless... there is still the alternative, to create a custom browser extension... which is being active on the one site, where the JS interaction is required (this can be defined in the extension's manifest). the GNOME Desktop has in every case little to do with what is happening on some remote site, except telling the web-browser which URL to visit. the search term "Browser Automation" also turns up a few Chrome plugins ...in general, one can use an actual web-browser or emulate the behavior of a web-browser (to obtain a session cookie and to stuff it into the local cookie jar, which equals being "logged in").there is a slight difference, in between "logging in order to obtain some value and then store it" (where server-side automation makes perfect sense) or just automating the web-browser to perform certain interaction (eg. logging in and the handing over the ongoing session to the user). each site is different, so there won't be any default recipe; most web-sites not even adhere to standard
auto-complete
attributes.