New answers tagged

0

Another option for robust automated web browsing is perl's WWW::Mechanize module. To report spam to the spamcop service, I use a combination of AppleScript and perl. AppleScript interacts with Mail and gets the spam contents and the perl side handles the web browsing. Below is an example of WWW::Mechanize to submit a form to a web server, find a specific ...


1

I had the exact same trouble, though using the window.navigator.standalone attribute, code fixes it all. <script type="text/javascript"> $(document).ready(function(){ // iOS web app full screen hacks. if(window.navigator.standalone == true) { // make all link remain in web app mode. $('a').click(function(...


0

You can use PyInstaller, which is a free program that does the exact thing you want. As the official website says: PyInstaller is a program that freezes (packages) Python programs into stand-alone executables, under Windows, Linux, Mac OS X, FreeBSD, Solaris and AIX. Its main advantages over similar tools are that PyInstaller works with Python 2.7 and 3....


2

Use cURL (curl). It's a command line tool that transfers data using various protocols including HTTP. The beauty here is that you don't need a GUI browser; everything will be handled at the command line level. The "button" you want to press will be located in some sort of form. You can use the Developer Tools in Chrome or Firebug in Firefox to see the ...


2

You should consider using opensource Selenium. With a Selenium IDE plugin to Firefox you can record your actions (opening a page, clicking on a button), replay these songs, and generate Python or Ruby scripts rich you can customise and call from CLI. Sample script testing default Apache availability might look like this: #!/usr/local/bin/python DEST_URL='...


1

Turns out I had disable styles checked



Top 50 recent answers are included