| View previous topic :: View next topic |
| Author |
Message |
p0kah Guest
|
Posted: Wed Sep 09, 2009 10:03 am Post subject: browser automation |
|
|
Hi guys,
I love ahk, I have made a lot of useful script with it.
The only problem with it is:
You cannot automate browser operations.
it is a pain in the ass to automate scraping of website with ahk.
What I am suggesting is to create a firefox extension to automate firefox, I tried with Imacro but it really sucks, it doesn't even support conditional statements (if then else).
thank you for reading my post.
p0kah |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 7295 Location: Australia
|
|
| Back to top |
|
 |
Scratch
Joined: 22 Jan 2009 Posts: 72
|
Posted: Mon Sep 14, 2009 2:37 pm Post subject: |
|
|
Browser Automation support, whether native, by library and or wrapper imho should not be restricted to a specific browser, the wrapper should contain common function like OpenTab, read out wich browser and version number, lookup in translation table and call the appropiate function for that browser
Could become one helluve a wrapper to support all browsers though... |
|
| Back to top |
|
 |
TheIrishThug
Joined: 19 Mar 2006 Posts: 419
|
Posted: Mon Sep 14, 2009 8:56 pm Post subject: |
|
|
| Scratch wrote: | | Browser Automation support, whether native, by library and or wrapper imho should not be restricted to a specific browser, the wrapper should contain common function like OpenTab, read out wich browser and version number, lookup in translation table and call the appropiate function for that browser |
Another way to construct the library would just to be to define the interface as a wrapper api. Everyone would just use OpenTab or CloseTab and then below the interface would sit a "plugin" for the specific browser. The user doesn't care what the browser specific code is, just that the appropriate event occurs when the api is called. This way, if the user knows they are only ever going to need FF and IE, they don't need to load the extra weight to do Opera or Safari. |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Mon Sep 14, 2009 11:11 pm Post subject: |
|
|
| Scratch wrote: | Browser Automation support, whether native, by library and or wrapper imho should not be restricted to a specific browser, the wrapper should contain common function like OpenTab, read out wich browser and version number, lookup in translation table and call the appropiate function for that browser
Could become one helluve a wrapper to support all browsers though... | the problem with these kinds of statements is the misguided beleife there are only a few browser out there
but stepping back to tabs
IE6 is still quite common place what about that
ther are literally hundreds of browsers out there there would not be any feasable way to just wrap all browsers
So yes wrappers would be and necesarily are browser specific
and yes there are alot of way to exchange http headers on this forum
both with or without a browser. _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
ScottMattes
Joined: 21 May 2007 Posts: 173 Location: USA
|
Posted: Tue Sep 15, 2009 6:50 pm Post subject: |
|
|
IE6 - just say NO
I recently saw a website that dealt with this issue, it gave code to put up a polite 'sorry, but we don't do IE6 because it is crappy' msg, with pointers to where they could download IE7, Opera, Firefox, Chrome _________________ -------------
Scott Mattes
My small, and slowly growing, collection of scripts. |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Tue Sep 15, 2009 6:53 pm Post subject: |
|
|
Unfortunately in a consumer world your user is likely to just decide not to do business with you _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
|