版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、imacros教程imacrosforchromeimacros教程imacrosforchrome 編輯整理:尊敬的讀者朋友們:這里是精品文檔編輯中心,本文檔內(nèi)容是由我和我的同事精心編輯整理后發(fā)布的,發(fā)布之前我們對(duì)文中內(nèi)容進(jìn)行仔細(xì)校對(duì),但是難免會(huì)有疏漏的地方,但是任然希望(imacros教程imacrosforchrome)的內(nèi)容能夠給您的工作和學(xué)習(xí)帶來(lái)便利。同時(shí)也真誠(chéng)的希望收到您的建議和反饋,這將是我們進(jìn)步的源泉,前進(jìn)的動(dòng)力。本文可編輯可修改,如果覺(jué)得對(duì)您有幫助請(qǐng)收藏以便隨時(shí)查閱,最后祝您生活愉快 業(yè)績(jī)進(jìn)步,以下為imacros教程imacrosforchrome的全部?jī)?nèi)容。imacros
2、 for chromethank your for using imacros for chrome, the open-source web automation solution.note that this version is abetaversion, so please do not expect it to be as polished as its bigger siblings for ie and firefox.having said that, imacros for chrome is ready to be used for web automation.its a
3、 macro recorder for your google chrome browser。with imacros for chrome we are also testing an interesting new gui layout and the concept of storingimacros as bookmarklets. we look forward to your feedback!contentshide 1installationo 1。1add file accesso 1。2how to install an extension from outside the
4、 chrome gallery 2first steps 3imacros as bookmarklets 4social scripting 5demo and test macros 6command line support 7scripting chromeo 7。1using chrome with the imacros runas agent (iimrunner) 7。1.1where is the iimdisplay message? 8getting help 9limitations 10version historyo 10.1version archiveo 10。
5、2how to install an older version 11security 12known issues 13see alsoinstallation download the latest versionimacros_for_chrome this version fixes the chrome v35 issues!no administrative rights are required for the installation. all versions of chrome (win, mac and linux) are supported.this installe
6、r supports storing macrosinside bookmarks. if this is all you want, then there is nothing else to do. but if you prefer to store macros in regular text files (like imacros for firefox/ie do), then please install our new file access modules below。add file accessimacros for chrome used a npapi plugin
7、internally to access the file system。 and because chrome extensions can no longer use the npapi (since may 2014) we have to provide the alternative solution - using the new nativemessaging api of chrome.this means thedefaultinstall of imacros for chrome v8 and higher allows you toonly store macros i
8、n bookmarks. if you want to store the macros in text files on your hard drive or you are using macros that access data files (via!datasource), please install one of these free file access enhancements:please install imacros for chrome before installing the file access module。 the installers below co
9、ntain only the file access code, not the complete imacros for chrome extension。 windows:=download file access installer mac:=download file access installer(updated oct 1, 2014) linux:download tar ball it can be used for both, mac and linux。 the install script is inside the gz” file. the command to u
10、npack it from command line is tar -xvf imacros_fio。tar.gz after that command is executed the imacros_fio directory is created。 please move that directory to some place where it will be persistent, e。g。 /imacros then cd to that directory and execute 。/install.sh (checksum: md5 (imacros_fio.tar.gz) =
11、dc668d1b8265443e0ef7314a6bc92b3f)this is how imacros for chrome looks without the new and free file access module installed。 once it is installed, you will see the familiar treeview there.how to install an extension from outside the chrome galleryextensions that you download from the chrome web stor
12、e are installed automatically, which is great for distribution, but not so great for development。 recognizing this, chrome gives you a quick way of loading up your working directory for testing。 lets do that now. visit chrome:/extensions in your browser (or open up the chrome menu by clicking the ic
13、on to the far right of the omnibox: the menus icon is three horizontal bars。 and select extensions under the tools menu to get to the same place)。 ensure that the developer mode checkbox in the top righthand corner is checked。 drag drop the imacrosyyy。crx beta version on the extension page. this wor
14、ksonlyon the extension page. chrome checks if the extension is valid, itll be loaded up and active right away!this does not work chrome v36 beta on windows: that is caused by a new, upcoming security improvement: starting with v36, chrome will block all installs from outside the google chrome galler
15、y! so far this block seems to be only in the windows version, not chrome 36 for linux or mac。 to work around this, install our beta version from the gallery.first stepsafter you installed imacros for chrome you will see the imacros icon in the toolbar. first we recommend that you look at a few demo
16、macros. after this start recording your first own macro. to get start, a simple website like this wiki or our company website are a good start。 to record, open the imacros panel and click record。 when you are done recording, click the stop icon either in the panel or in the chrome toolbar. the imacr
17、os icon changes to a stop button with line counter during recording and replay.the imacros for chrome panel: you can start playing macros either from the imacros panel or from your bookmarks or macros that are embedded into websites.the imacros icon changes to a stop button with line counter during
18、recording and replay. thewaitcommand displays the wait time as countdown.the imacros panel has aloopbutton to run macros repeatedly. this can be useful for checking a certain web page status or for web testing. while the loop is running, the current loop number is stored in the!loopinternal variable
19、。example usage: create a macro that refreshes the current page every 5 seconds: version build=1031208 recorder=cr refresh wait seconds=5start the page refresh macro with the loop button。imacros as bookmarkletsif you are used to other imacros versions, you might be surprised that imacros for chrome d
20、oes not store its macros as text files. the reason for this is that chrome extensions can not write or read files unless they use a special npapi dll (update: imacros for chrome v2.0 beta has such a dll and can now read and write normal macros!). instead we are testing a new concept and store macros
21、 asbookmarkletsinside the regular chrome bookmarking system.this means you cantake full advantage of the google bookmark syncfeatures or bookmark sync extensions such as xmarks.as the macros are packed as bookmarklets, you canjust drag & drop them to your bookmarks folderor bookmarks bar。example:sea
22、rch the german railway website for train connection from frankfurt international airport to mannheim select ”proceed to this site” to run the macro!you can rename, edit or delete your imacros via the the chrome bookmark manageryou can sync your imacros macros just like normal bookmarks. and with the
23、 imacros secure password encryption that means that you can even store login macros securely in the cloud。imacros for chrome v2 beta can view, run and edit the standard *.iim text file based macros, just like imacros for firefox/ie。social scriptingimacros for chrome pioneers the social scripting con
24、cept. users can embed the complete macro in a simple link that can be shared with friends and coworkers. users can also embed the link on their homepage, blog and company intranet。 in this way, users can help website visitors perform certain tasks。 instead of telling visitors how to fill out a form,
25、 users can let imacros fill out the form for them。 all information is stored inside the link as a text string, and nothing is stored on our servers.tip:to send macros (bookmarklets) by email, use the tinyu link shortener service。 example usage:”hi sandra, which of theavailable flightsdo you prefer?
26、just click the link to run the search and get up-todate pricing。demo and test macrosfor a list of demo and test macros please see if these macros replay fine in your google chrome browser, then the basic installation of imacros for chrome is ok。command line supportthe google chrome api does not prov
27、ide command line information for extensions yet, but user ”cammarin” suggested a great way to use imacros for chrome via the command line:embed the imacros bookmarklet in a local web page。1. create a bookmark for the macro you want to launch2. right-click on the bookmark in chrome and select edit3.
28、copy everything in the url field starting with var e_m64 up to and including window。dispatchevent(evt);4. paste this code in place of the line starting with var e_m64 in the html file shown belowexample: html head script language=javascript function launchmacro() / body of the original function on t
29、he created macro, i. e., / from var e_m64.。.” until 。.。window。dispatchevent(evt); var e_m64 = vvjmjtiwr09utyuzrgh0dhalm0elmkylmkz3d3cuaw9wdxmuy29tjtjg”, n64 = ”jtizq3vycmvudc5paw0=”;if(!/(?:chromehttps?|file)/.test(location)alert(imacros: open webpage to run a macro。);return;var macro = ;macro。sourc
30、e = decodeuricomponent(atob(e_m64); = decodeuricomponent(atob(n64));var evt = document.createevent(”customevent);evt.initcustomevent(imacrosrunmacro”, true, true, macro);window。dispatchevent(evt); / end function macro /script body onload=launchmacro();/body /htmlexample command line / batc
31、h file: ”c:program files (x86)googlechromeapplicationchrome.exe” file:/d:/web/test。htmtest.htm” is the local website with the bookmarklet。 note that you need to open another tab first, otherwise chrome is not ready to start the bookmarklet。 so the workaround is to simply open ” before our local webs
32、ite with the bookmarklet。 this way you can also start your macro via thewindows task scheduleror a linux crown job。update:this approach is no longer working。 we discovered that you can make it work by adding a call to alert() as the first line in the launchmacro() function. obviously this is not acc
33、eptable since it would require user intervention to dismiss the dialog. if you know of a fix or other approach, please post the solutionhere.scripting chromegoogle chrome, the complete browser, can be scripted with the commercial imacros enterprise edition (=imacros scripting api)。 the api allows yo
34、u to control chrome fromexternal software (c+, c#, python, perl,.)。 for details, see the chapter with theiimopen command。using chrome with the imacros runas agent (iimrunner)1. iimrunner only works with a non-default chrome userdatadir (aka profile)2. make sure the imacros add-on is installed in the
35、 new user profile.3. in order to launch chrome with a different user profile via the imacros scripting interface (e.g。 iimopen(”-cr cruserdata c:myprofile”) or withiimrunner(e.g. iimopen(”-cr runner cruserdata c:myprofile), you need to allow access to file urls:1. go to tools extensions and click th
36、e small triangle next to the imacros add-on2. make sure ”allow access to file urls is checkedwhere is the iimdisplay message?due to chromes ui, we opted to show messages output by iimdisplay as a desktop notification popup window.inimacros for chrome, if the sidebar is not available (e。g. if you sta
37、rt the browser from scripting interface api or run macros from bookmarks menu)errors and iimdisplay() messages are shown in a desktop notification pop-up window。getting helpif you run into any issues, please dont hesitate to contact us on oursupport forum. take a quick look through theforumbefore as
38、king your question, we might already have a solution or work around available.limitationswhile imacros for chrome works well for many web automation tasks, some imacros features are not yet implemented. but we are working on it。not yet available: some of thebuiltin variables dialog manager (ondialog
39、) directscreen technologyimage recognition what feature do you need most urgently? please let us know in theimacros for chrome user forumso we can prioritize our work。(*)feature requires updates to the chrome extensions api before we can implement it。version historyread whats new: 2014-05-28 v8.04do
40、wnload now new: chrome v35 bug workaround new: new scripting interface, workaround for chromes block of npapi dlls - requires separate installer。due to chrome restrictions, the updated extension only supports macros inside bookmarks。 for file access, please install our new file access modules get th
41、em atimacros_for_chrome#installation. 20140310 v7.03download now fixed: shrinking sidebar bug (only linux systems affected)。 this fix is actually a workaround for achrome bug. 201403-10 v7。02download now new: significantly improved ui new: upload support for alertfoxwebsite monitoring fixed: many sm
42、aller bug fixes and tweaks 20130705 v6.06download now new: new indicator for the recording/replay position improved: bookmarklet conversion fixed: many smaller bug fixes and tweaksimportant note for imacros enterprise edition users:the updated imacros chrome scripting interface requires imacros v9.0
43、2 orthis patch。 after downloading the patch, unzip and run ”install。cmd as administrator。 it updates the chrome connector to the latest version。 this patch supports both, imacros 8 and 9。v6。06 features the new floating imacros icon。.。(also in the new imacros for firefox) 20121008 v5。21 added:onerror
44、dialog added:eval added: performance log feature added: set!file_profiler improved: iimtakebrowserscreenshot support improved: bookmarklets support - now imacros for chrome and imacros for firefox bookmarklets have the same format。 fixed: mac chrome compatibility issues introduced by chrome v22 fixe
45、d: back button not recorded fixed: many smaller bug fixes 2012-06-14 v5.11click here to download from the chrome galleryorclick here to download fixed:previous v5。10 broke some scripts(sorry about that!) fixed:runtimeerror: net::err_aborted issue fixed: several smaller bug fixes 2012-0424 v5。01 adde
46、d:framesupport added:saveassupport added:evalsupport added: support fortimeout_pageandtimeout_macro improved: imacros chrome icon is changed only on those windows where replaying or recording happens fixed: negative counter issue fixed: several smaller bug fixes 201202-09 v4。01 added: visual display
47、 for recorded commands added: visual display for replayed commands added:iimdisplaysupport improved:web scriptinginterface:controlchrome withiiminit(cr”).new visual display for recording and replayimacros for chrome can store macros as text files (fully compatible with imacros for ie and firefox) an
48、d also embeded them inside bookmarks - perfect for quick access and syncing macros with your bookmarks. use themacro storageoption to switch。 20110715 v3。5。3 added: readded support for imacros in bookmarks added: conversion of macros between ”stored as local file” and stored as bookmarks。 bookmark s
49、torage is great for automated syncing. added: double treeview view macros stored as files and in bookmarks。 201105-05 v3。5。1 beta added: mac osx support! added: improved iiminit (-cr”) support 2011-01-20 v3.0。2 beta added:iiminit(cr”) support。 you can now remote control chrome just like ie or firefo
50、x.imacros enterprise edition v7.22 or lateris required in addition to the chrome extension. added: side bar fixed: several smaller issues 2010-0520 v2。0。1 beta added: read/write/edit standard text based imacros macro files (”.iim files). added: drag & drop tree view added: run more than one instance
51、 (requires google chrome v5。x) fixed: several minor issues 201002-08 v1.1.1 added:!clipboardcommand: set!clipboard ”hi” works, but !clipboard does not currently work due to a bug in chrome. added: macro edit, rename and delete with right-click added:stopwatch- result is written tochrome javascript c
52、onsole fixed: several minor issues 200912-8 v1。0。3 imacros for chrome is afeatured extensionat the launch of the new google extension gallery added:prompt added:pause 2009-12-7 v1。0.2 added:!urlcurrent added:!var1,!var3,!var3 added: set!errorignoreyes/no 2009125 v1.0.0 added: improved gui, panel now
53、 stays open during record and replay added: pause button added: loop button !loop variable added:refresh fixed: several smaller issues 2009121 v0。6。5 added: line numbers andwaittime in seconds are displayed as text in the browser action icon fixed: another page load timing issue 2009-11-30 v0。6。1 fixed: page load timing issue 20091127 v0。6。0 added: set!encryptionsupport - full 256-bita
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度個(gè)人房產(chǎn)抵押貸款擔(dān)保費(fèi)率標(biāo)準(zhǔn)4篇
- 2025年度綠色有機(jī)大米產(chǎn)地直銷合作合同范本3篇
- 二零二五年度倉(cāng)儲(chǔ)物流設(shè)施租賃合同終止協(xié)議4篇
- 2025版危險(xiǎn)品運(yùn)輸事故應(yīng)急救援預(yù)案合同3篇
- 2024鋁單板購(gòu)銷合同模板
- 2025年度新型銀杏樹(shù)種植與銷售合作協(xié)議4篇
- 三輪車買(mǎi)賣標(biāo)準(zhǔn)協(xié)議模板2024版版B版
- 2025年度市政公用設(shè)施養(yǎng)護(hù)維修合同范本4篇
- 二零二五年度戶外拓展訓(xùn)練基地場(chǎng)地租賃合同3篇
- 2025年模板專用木方供貨與施工團(tuán)隊(duì)培訓(xùn)合同3篇
- 【探跡科技】2024知識(shí)產(chǎn)權(quán)行業(yè)發(fā)展趨勢(shì)報(bào)告-從工業(yè)轟鳴到數(shù)智浪潮知識(shí)產(chǎn)權(quán)成為競(jìng)爭(zhēng)市場(chǎng)的“矛與盾”
- 《中國(guó)政法大學(xué)》課件
- GB/T 35270-2024嬰幼兒背帶(袋)
- 遼寧省沈陽(yáng)名校2025屆高三第一次模擬考試英語(yǔ)試卷含解析
- 2024-2025學(xué)年高二上學(xué)期期末數(shù)學(xué)試卷(新題型:19題)(基礎(chǔ)篇)(含答案)
- 2022版藝術(shù)新課標(biāo)解讀心得(課件)小學(xué)美術(shù)
- Profinet(S523-FANUC)發(fā)那科通訊設(shè)置
- 醫(yī)學(xué)教程 常見(jiàn)化療藥物歸納
- 統(tǒng)編版九年級(jí)歷史下冊(cè)第一單元教案教學(xué)設(shè)計(jì)
- 人教部編版道德與法治八年級(jí)下冊(cè):6.3 《國(guó)家行政機(jī)關(guān)》說(shuō)課稿1
- 淋巴瘤病理診斷基礎(chǔ)和進(jìn)展周小鴿
評(píng)論
0/150
提交評(píng)論